docs popup fix

This commit is contained in:
cookfront 2017-04-01 16:04:32 +08:00
parent 641473e2b6
commit 8862e38623

View File

@ -7,8 +7,12 @@ export default {
computed: {
mobileUrl() {
if (process.env.NODE_ENV === 'production') {
return '/vue/examples#' + location.pathname.slice(4);
} else {
return '/examples.html#' + location.pathname.slice(4);
}
}
},
data() {