diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/api/core/user.ts b/Yi.Vben5.Vue3/apps/web-antd/src/api/core/user.ts index e5cc1250..744ad3b4 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/api/core/user.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/api/core/user.ts @@ -19,7 +19,7 @@ export interface User { email: string; loginDate: string; loginIp: string; - nickName: string; + nick: string; phonenumber: string; remark: string; roles: Role[]; diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/api/system/profile/model.d.ts b/Yi.Vben5.Vue3/apps/web-antd/src/api/system/profile/model.d.ts index bb1e4b38..a25873e5 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/api/system/profile/model.d.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/api/system/profile/model.d.ts @@ -32,7 +32,7 @@ export interface User { tenantId: string; deptId: number; userName: string; - nickName: string; + nick: string; userType: string; email: string; phonenumber: string; diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/api/system/social/model.d.ts b/Yi.Vben5.Vue3/apps/web-antd/src/api/system/social/model.d.ts index 1e3b0157..d00b88e4 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/api/system/social/model.d.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/api/system/social/model.d.ts @@ -9,7 +9,7 @@ export interface SocialInfo { refreshToken: string; openId: string; userName: string; - nickName: string; + nick: string; email: string; avatar: string; accessCode?: any; diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/api/workflow/instance/model.d.ts b/Yi.Vben5.Vue3/apps/web-antd/src/api/workflow/instance/model.d.ts index 133d06a3..5bfab113 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/api/workflow/instance/model.d.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/api/workflow/instance/model.d.ts @@ -32,7 +32,7 @@ export interface Flow { flowCode?: any; version?: any; runDuration: string; - nickName?: any; + nick?: any; } export interface FlowInfoResponse { diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/store/auth.ts b/Yi.Vben5.Vue3/apps/web-antd/src/store/auth.ts index e7b736e7..5971d7dd 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/store/auth.ts +++ b/Yi.Vben5.Vue3/apps/web-antd/src/store/auth.ts @@ -114,7 +114,7 @@ export const useAuthStore = defineStore('auth', () => { const userInfo: UserInfo = { avatar: user.avatar ?? '', permissions: permissionCodes, - realName: user.nickName, + realName: user.nick, roles: roleCodes, userId: user.userId, username: user.userName, diff --git a/Yi.Vben5.Vue3/apps/web-antd/src/views/_core/profile/components/account-bind.vue b/Yi.Vben5.Vue3/apps/web-antd/src/views/_core/profile/components/account-bind.vue index 0da901c6..292967a5 100644 --- a/Yi.Vben5.Vue3/apps/web-antd/src/views/_core/profile/components/account-bind.vue +++ b/Yi.Vben5.Vue3/apps/web-antd/src/views/_core/profile/components/account-bind.vue @@ -100,7 +100,7 @@ const simpleImage = Empty.PRESENTED_IMAGE_SIMPLE;