mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:19:01 +08:00
优化 CRUD 一次性加载重新刷新路基
This commit is contained in:
parent
7ab16f083d
commit
08ae3cb4ad
@ -866,7 +866,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
||||
})
|
||||
.then(() => {
|
||||
reload && this.reloadTarget(reload, data);
|
||||
this.search();
|
||||
this.search(undefined, undefined, true, true);
|
||||
})
|
||||
.catch(() => {});
|
||||
} else {
|
||||
@ -886,7 +886,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
||||
.saveRemote(quickSaveItemApi, sendData)
|
||||
.then(() => {
|
||||
reload && this.reloadTarget(reload, data);
|
||||
this.search();
|
||||
this.search(undefined, undefined, true, true);
|
||||
})
|
||||
.catch(() => {});
|
||||
}
|
||||
@ -995,7 +995,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
|
||||
.saveRemote(saveOrderApi, model)
|
||||
.then(() => {
|
||||
reload && this.reloadTarget(reload, model);
|
||||
this.search();
|
||||
this.search(undefined, undefined, true, true);
|
||||
})
|
||||
.catch(() => {});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user