123456789101112131415161718192021222324252627 |
- import { VantComponent } from '../common/component';
- VantComponent({
- props: {
- show: Boolean,
- customStyle: String,
- duration: {
- type: null,
- value: 300,
- },
- zIndex: {
- type: Number,
- value: 1,
- },
- lockScroll: {
- type: Boolean,
- value: true,
- },
- },
- methods: {
- onClick() {
- this.$emit('click');
- },
- // for prevent touchmove
- noop() { },
- },
- });
|