This commit is contained in:
parent
f2e3c11733
commit
9a3164e386
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue