bug fixed
This commit is contained in:
parent
370fa44579
commit
0766bb6134
@ -193,19 +193,7 @@ export class OrganizationComponent
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
.subscribe(list => {
|
.subscribe(list => {
|
||||||
this.myDepartmentUserInfoList = list;
|
if (!list) {
|
||||||
if (!this.selectedDepartmentUserInfoList) {
|
|
||||||
this.selectedDepartmentUserInfoList = list;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!!this.vsDeptUser) {
|
|
||||||
this.vsDeptUser.scrollToIndex(0, true, 0, 0);
|
|
||||||
}
|
|
||||||
if (!!this.psDirectiveRef) {
|
|
||||||
this.psDirectiveRef.update();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
this.store
|
this.store
|
||||||
.pipe(
|
.pipe(
|
||||||
take(1),
|
take(1),
|
||||||
@ -234,6 +222,21 @@ export class OrganizationComponent
|
|||||||
})
|
})
|
||||||
)
|
)
|
||||||
.subscribe();
|
.subscribe();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.myDepartmentUserInfoList = list;
|
||||||
|
if (!this.selectedDepartmentUserInfoList) {
|
||||||
|
this.selectedDepartmentUserInfoList = list;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!!this.vsDeptUser) {
|
||||||
|
this.vsDeptUser.scrollToIndex(0, true, 0, 0);
|
||||||
|
}
|
||||||
|
if (!!this.psDirectiveRef) {
|
||||||
|
this.psDirectiveRef.update();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewChecked(): void {
|
ngAfterViewChecked(): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user