mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user