This commit is contained in:
2026-09-24 16:25:22 +08:00
commit 7428184f01
1198 changed files with 314515 additions and 0 deletions
@@ -0,0 +1,13 @@
import {defaultConfig,configCover} from "../libs/config.uts"
export {XLOADINGS_TYPE,XLOADINGS_TYPE_PRIVATE} from "../interface.uts"
export const showLoading = (opts : XLOADINGS_TYPE|null) => {
let realopts = opts==null?({} as XLOADINGS_TYPE):(opts!)
let config = configCover(realopts)
wx.showLoading({
title:opts?.title??"...",
mask:true
})
}
export const hideXloading = ()=>{
wx.hideLoading()
}