提供模态和非模态两种模式。
| 名称 | 类型 | 是否必传 | 默认值 | 描述 |
|---|---|---|---|---|
| clickable | boolean | 否 | false | 是否可点击 |
// 非模态
show = () => {
const {showLoading} = Tida.snipcode
showLoading(true)
}
// 模态
show2=()=>{
const {showLoading} = Tida.snipcode
showLoading()
}
hide = () => {
const {hideLoading} = Tida.snipcode
hideLoading()
}