This commit is contained in:
雷欧(林平凡)
2025-09-18 17:19:58 +08:00
parent 645eac253c
commit 0c1201baee
3 changed files with 139 additions and 19 deletions

View File

@@ -9,7 +9,7 @@ import { isRelogin } from '@/utils/request'
NProgress.configure({ showSpinner: false })
const whiteList = ['/login', '/register','/public/comment']
const whiteList = ['/login', '/register', '/public/comment']
const isWhiteList = (path) => {
return whiteList.some(pattern => isPathMatch(pattern, path))