1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00
nemo-shen 3afe10c0f9
fix(VantComponent): remove optionalTypes ()
* fix(VantComponent): remove optionalTypes

* fix: reset project.config.json
2021-09-18 10:02:06 +08:00

30 lines
429 B
TypeScript

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() {},
},
});