|
|
@ -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 = {}
|
|
|
|