Browse Source

fix: Fixed the incorrect field name for tenantId

pull/1525/head
colin 3 months ago
parent
commit
f8721077f4
  1. 2
      apps/vben5/apps/app-antd/src/views/identity/users/index.vue
  2. 2
      apps/vben5/packages/@abp/identity/src/types/users.ts

2
apps/vben5/apps/app-antd/src/views/identity/users/index.vue

@ -22,7 +22,7 @@ async function handleImpersonation(user: IdentityUserDto) {
await authStore.impersonationUserLogin(
{
userId: user.id,
tenantId: user.tenentId,
tenantId: user.tenantId,
},
() => {
tabbarStore.closeAllTabs(router);

2
apps/vben5/packages/@abp/identity/src/types/users.ts

@ -64,7 +64,7 @@ interface IdentityUserDto
/** 角色列表 */
roleNames: string[];
/** 租户标识 */
tenentId?: string;
tenantId?: string;
}
/** 用户实体数据视图对象 */
type IdentityUserVto = Omit<

Loading…
Cancel
Save