30 lines
606 B
JavaScript
30 lines
606 B
JavaScript
|
import { VantComponent } from '../common/component';
|
||
|
VantComponent({
|
||
|
props: {
|
||
|
show: Boolean,
|
||
|
mask: Boolean,
|
||
|
message: String,
|
||
|
forbidClick: Boolean,
|
||
|
zIndex: {
|
||
|
type: Number,
|
||
|
value: 1000,
|
||
|
},
|
||
|
type: {
|
||
|
type: String,
|
||
|
value: 'text',
|
||
|
},
|
||
|
loadingType: {
|
||
|
type: String,
|
||
|
value: 'circular',
|
||
|
},
|
||
|
position: {
|
||
|
type: String,
|
||
|
value: 'middle',
|
||
|
},
|
||
|
},
|
||
|
methods: {
|
||
|
// for prevent touchmove
|
||
|
noop() { },
|
||
|
},
|
||
|
});
|