first commit
This commit is contained in:
26
miniprogram/@vant/weapp/dist/overlay/index.js
vendored
Normal file
26
miniprogram/@vant/weapp/dist/overlay/index.js
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
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() { },
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user