拦截路由

This commit is contained in:
高嵩
2023-07-17 20:45:33 +08:00
parent ddf02f7c02
commit 931169f5d8
+1 -1
View File
@@ -81,7 +81,7 @@ router.beforeEach(function (to, from, next) {
setTimeout(() => { setTimeout(() => {
loading.close() loading.close()
loading = null loading = null
}, 1000) }, 3000)
} }
let fromName = from.name let fromName = from.name
if(fromName === undefined || fromName === null){ if(fromName === undefined || fromName === null){