From ce7b9d39be858dc50194d14ac7937a5013147d77 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Thu, 22 Aug 2024 08:02:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E6=89=93?= =?UTF-8?q?=E5=8C=85ts=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/user.ts b/src/api/user.ts index f03edef3..4ade1e3d 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -201,7 +201,7 @@ export default UserAPI; /** 登录用户信息 */ export interface UserInfo { /** 用户ID */ - userId: number; + userId?: number; /** 用户名 */ username?: string;