修复 wizard 最后一步跳转没有获取到接口返回数据问题
This commit is contained in:
parent
549af8a2aa
commit
a134eaa0a8
|
@ -280,6 +280,10 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then(value => {
|
.then(value => {
|
||||||
|
store.updateData({
|
||||||
|
...store.data,
|
||||||
|
...value
|
||||||
|
});
|
||||||
store.markSaving(false);
|
store.markSaving(false);
|
||||||
if (onFinished && onFinished(value, action) === false) {
|
if (onFinished && onFinished(value, action) === false) {
|
||||||
// 如果是 false 后面的操作就不执行
|
// 如果是 false 后面的操作就不执行
|
||||||
|
|
Loading…
Reference in New Issue