forked from p96170835/amis
修复modal 在没有孩子渲染器处理 ajax 时,弹窗没办法设置关闭的问题
This commit is contained in:
parent
95d47ce808
commit
d15b78f2bd
|
@ -669,6 +669,7 @@ export class DialogRenderer extends Dialog {
|
|||
action.redirect &&
|
||||
env.jumpTo(filter(action.redirect, store.data), action);
|
||||
action.reload && this.reloadTarget(action.reload, store.data);
|
||||
action.close && this.handleSelfClose();
|
||||
})
|
||||
.catch(() => {});
|
||||
} else if (onAction) {
|
||||
|
|
|
@ -666,6 +666,7 @@ export class DrawerRenderer extends Drawer {
|
|||
action.redirect &&
|
||||
env.jumpTo(filter(action.redirect, store.data), action);
|
||||
action.reload && this.reloadTarget(action.reload, store.data);
|
||||
action.close && this.handleSelfClose();
|
||||
})
|
||||
.catch(() => {});
|
||||
} else if (onAction) {
|
||||
|
|
Loading…
Reference in New Issue