onlyoffice加载问题

This commit is contained in:
hanchaobo
2024-03-19 16:20:47 +08:00
parent 400b3e4644
commit 1504603ca6
3 changed files with 17 additions and 11 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入
next()
} else {
next(`/login?redirect=${encodeURIComponent(to.fullPath)}`) // 否则全部重定向到登录页
// next(`/login?redirect=${encodeURIComponent(to.fullPath)}`) // 否则全部重定向到登录页
next(`/login`)
NProgress.done()
}
}