mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
24 lines
416 B
JavaScript
24 lines
416 B
JavaScript
import MobilePopup from 'components/mobile-popup.vue';
|
|
|
|
export default {
|
|
components: {
|
|
MobilePopup
|
|
},
|
|
|
|
computed: {
|
|
mobileUrl() {
|
|
if (process.env.NODE_ENV === 'production') {
|
|
return '/vue/examples#' + location.pathname.slice(4);
|
|
} else {
|
|
return '/examples.html#' + location.pathname.slice(4);
|
|
}
|
|
}
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
mobileShow: false
|
|
};
|
|
}
|
|
};
|