fix: modify

aiops_dev
时启龙 2025-08-08 11:13:19 +08:00
parent 420aedf83e
commit 3cddb1372b
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ if (token) {
export default function() {
const whiteList = ['/login', '/404', '/401', '/license', '/sso']
router.beforeEach(async (to, from, next) => {
console.log(to)
if (getToken()) {
// 判断用户是否处于登录状态
if (to.path === '/login') {