mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
popup component demo
This commit is contained in:
19
docs/components/mobile-computed.js
Normal file
19
docs/components/mobile-computed.js
Normal file
@@ -0,0 +1,19 @@
|
||||
import MobilePopup from 'components/mobile-popup.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
MobilePopup
|
||||
},
|
||||
|
||||
computed: {
|
||||
mobileUrl() {
|
||||
return '/examples.html' + location.hash;
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
return {
|
||||
mobileShow: false
|
||||
};
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user