设置登录背景加载超时时间
This commit is contained in:
@@ -135,11 +135,15 @@ function loadBackground(next) {
|
||||
next()
|
||||
};
|
||||
|
||||
setTimeout(() => {
|
||||
console.warn("背景加载超时,已放行");
|
||||
next()
|
||||
}, 3000)
|
||||
|
||||
} else {
|
||||
next()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
router.afterEach((to) => {
|
||||
|
||||
Reference in New Issue
Block a user