fix: 修复 wizard actions 中配置弹框无效

This commit is contained in:
2betop 2021-07-19 20:59:44 +08:00
parent e05a4f3ff6
commit 2c3b87c2a7

View File

@ -527,6 +527,7 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
} else if (action.type === 'reset') {
this.form.reset();
} else if (action.actionType === 'dialog') {
store.setCurrentAction(action);
store.openDialog(data);
} else if (action.actionType === 'ajax') {
if (!action.api) {