fix build

This commit is contained in:
cookfront
2017-04-19 15:52:47 +08:00
parent e6c4f9ebf2
commit c6014ad62d
2 changed files with 2 additions and 2 deletions

View File

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