This commit is contained in:
qsh
2024-05-27 15:58:17 +08:00
parent 34b4f84293
commit 1f9be6227c
14 changed files with 173 additions and 43 deletions

View File

@@ -13,7 +13,7 @@ const { start, done } = useNProgress()
const { loadStart, loadDone } = usePageLoading()
// 路由不重定向白名单
const whiteList = ['/login', '/social-login', '/auth-redirect', '/bind', '/register']
const whiteList = ['/login', '/social-login', '/auth-redirect', '/bind', '/register', '/swagger']
// 路由加载前
router.beforeEach(async (to, from, next) => {