2018-09-13 19:19:34 +08:00

35 lines
499 B
JavaScript

import { create } from '../common/create';
create({
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: {
clear() {
this.setData({
show: false
});
}
}
});