🔨 修改聚合配置.

This commit is contained in:
lijiahangmax
2024-12-16 20:37:17 +08:00
parent 985091f42b
commit 6d74b4379e
24 changed files with 403 additions and 349 deletions

View File

@@ -19,11 +19,11 @@ export default function setupUserLoginInfoGuard(router: Router) {
try {
// 获取用户信息
const info = await userStore.getUserInfo();
if (info.user.passwordUpdateStatus === 1) {
if (info.updatePassword?.updatePasswordStatus === 1) {
// 跳转到修改密码页面
next({
name: UPDATE_PASSWORD_ROUTE_NAME,
query: { reason: info.user.passwordUpdateReason },
query: { reason: info.updatePassword?.updatePasswordReason },
} as RouteLocationRaw);
} else {
// 跳转