This commit is contained in:
Chengliang 2022-11-03 14:33:55 +08:00
parent f2e3c11733
commit 9a3164e386
1 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,10 @@ export class ManagerDetachStore {
Api.getSearchList(params).then(res => { Api.getSearchList(params).then(res => {
if (res.code === 200) { if (res.code === 200) {
this.setHasRight(res.data.hasRight); this.setHasRight(res.data.hasRight);
this.isDetach = res.data.isDetach; if(res.data.hasRight) {
isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1); this.isDetach = res.data.isDetach;
isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1);
}
} else { } else {
message.warning(res.msg); message.warning(res.msg);
} }