docs popup fix

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

View File

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