Merge branch 'feature/code_review'

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

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() {