From 2a681aed4c274560c04ab3699a4ace88abefcb90 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 08 八月 2025 18:16:21 +0800 Subject: [PATCH] fix: 修改 --- src/store/modules/user.ts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index bf396f3..c9364bf 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -18,7 +18,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); }, -- Gitblit v1.9.1