优化loading

main-20240105
赵夫琳 7 months ago
parent 39f95e061c
commit 2197b7f12d

@ -18,8 +18,7 @@ const router = new VueRouter({
// 0.8秒后强制清除loading // 0.8秒后强制清除loading
const hideToastLoading = debounceFun(() => { const hideToastLoading = debounceFun(() => {
Vue.prototype.$forceCloseLoading() Vue.prototype.$forceCloseLoading()
}, 3 * 1000, false) }, 1000, false)
console.log('路由缓存...');
let isFetchPermissionInfo = false let isFetchPermissionInfo = false
const fetchPermissionInfo = async () => { const fetchPermissionInfo = async () => {
let obj = {} let obj = {}

Loading…
Cancel
Save