This commit is contained in:
parent
f2e3c11733
commit
9a3164e386
|
|
@ -61,8 +61,10 @@ export class ManagerDetachStore {
|
|||
Api.getSearchList(params).then(res => {
|
||||
if (res.code === 200) {
|
||||
this.setHasRight(res.data.hasRight);
|
||||
this.isDetach = res.data.isDetach;
|
||||
isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1);
|
||||
if(res.data.hasRight) {
|
||||
this.isDetach = res.data.isDetach;
|
||||
isOnChange ? this.tableStore.getDatas(res.data.datas, current) : this.tableStore.getDatas(res.data.datas,1);
|
||||
}
|
||||
} else {
|
||||
message.warning(res.msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue