fix(login): 将用户ID类型改为支持数字和字符串

为了兼容不同场景下的用户ID格式,将IUserInfoVo接口中的id字段类型从number改为number | string,并更新登录页面的模拟数据
This commit is contained in:
feige996
2025-08-21 20:18:31 +08:00
parent 8b476afe95
commit b46a7209df
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
* 用户信息
*/
export interface IUserInfoVo {
id: number
id: number | string
username: string
avatar: string
token: string