Merge branch 'feature/code_review'

This commit is contained in:
cookfront 2017-04-01 16:04:48 +08:00
commit 5580e2cdce

View File

@ -7,7 +7,11 @@ export default {
computed: {
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);
}
}
},