mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
rediret 和 reload 都执行好了
This commit is contained in:
parent
c0cb2f89e7
commit
dc8d8f77ee
@ -602,11 +602,8 @@ export default class Form extends React.Component<FormProps, object> {
|
||||
await this.openFeedback(action.feedback, store.data);
|
||||
}
|
||||
|
||||
action.reload
|
||||
? this.reloadTarget(action.reload, store.data)
|
||||
: action.redirect
|
||||
? env.updateLocation(filter(action.redirect, store.data))
|
||||
: null;
|
||||
action.redirect && env.updateLocation(filter(action.redirect, store.data));
|
||||
action.reload && this.reloadTarget(action.reload, store.data);
|
||||
})
|
||||
.catch(() => { });
|
||||
} else if (action.actionType === 'reload') {
|
||||
|
Loading…
Reference in New Issue
Block a user