diff --git a/src/app/pages/account/sys-role/sys-role.component.ts b/src/app/pages/account/sys-role/sys-role.component.ts index 669944b..7d00a4a 100644 --- a/src/app/pages/account/sys-role/sys-role.component.ts +++ b/src/app/pages/account/sys-role/sys-role.component.ts @@ -188,6 +188,7 @@ export class SysRoleComponent { * 关闭编辑角色模态框 */ closeEditRole() { + this.editRoleForm.reset(); this.editRoleVisible = false; } diff --git a/src/app/pages/merchant/mer-list/mer-list.component.html b/src/app/pages/merchant/mer-list/mer-list.component.html index 31b0214..bee5478 100644 --- a/src/app/pages/merchant/mer-list/mer-list.component.html +++ b/src/app/pages/merchant/mer-list/mer-list.component.html @@ -96,8 +96,8 @@ - - + 未上传 + {{merDetailObject.loginName}} {{merDetailObject.roleName}} diff --git a/src/app/pages/merchant/mer-list/mer-list.component.ts b/src/app/pages/merchant/mer-list/mer-list.component.ts index cb2e64f..476b739 100644 --- a/src/app/pages/merchant/mer-list/mer-list.component.ts +++ b/src/app/pages/merchant/mer-list/mer-list.component.ts @@ -28,6 +28,7 @@ import {Observable, Observer} from "rxjs"; import {NzAvatarModule} from "ng-zorro-antd/avatar"; import {MerService} from "../../../services/merchant/mer.service"; import {RoleService} from "../../../services/role/role.service"; +import {NzImageModule} from "ng-zorro-antd/image"; @Component({ selector: 'app-mer-list', @@ -68,7 +69,8 @@ import {RoleService} from "../../../services/role/role.service"; NzFlexDirective, NzDescriptionsModule, NzUploadComponent, - NzAvatarModule + NzAvatarModule, + NzImageModule ], templateUrl: './mer-list.component.html', styleUrl: './mer-list.component.less'