From 613d1a6ff31ca384c51d786819b27136d393a181 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 17:28:12 +0800 Subject: [PATCH] fix: 修改登录 --- src/store/modules/user.ts | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index d472450..a82987d 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -19,7 +19,7 @@ export interface UserState { token: string; - userInfo: API.PasswordLoginCommandCallback; + userInfo: API.LoginCommandCallback; } function getDefaultState() { @@ -52,7 +52,7 @@ this.token = token; setToken(token); }, - setUserInfo(userInfo: API.PasswordLoginCommandCallback) { + setUserInfo(userInfo: API.LoginCommandCallback) { this.userInfo = userInfo; setUserInfo(userInfo); }, @@ -68,6 +68,7 @@ }, { showLoading: false, + skipErrorHandler: true, } ); if (res) { -- Gitblit v1.9.1