fix: 路由调整

This commit is contained in:
xuziqiang
2024-06-11 16:45:18 +08:00
parent dd82f15e7f
commit 689a349d96
2 changed files with 5 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ export function createPermissionGuard(router: Router, whiteNameList: string[]) {
to.name &&
!whiteNameList.includes(to.name as string)
) {
NsMessage.error('登信息已过期,请重新登录!', 1);
NsMessage.error('登信息已过期,请重新登录!', 1);
next({ name: 'login' });
} else {
// 存储用户信息