只记录第一次的

This commit is contained in:
2betop 2020-03-02 14:08:24 +08:00
parent d357f714b3
commit 90e528bfa5

View File

@ -429,7 +429,7 @@ export default class Wizard extends React.Component<WizardProps, WizardState> {
@autobind
handleInit(values: any) {
const step = this.state.currentStep;
this.initalValues[step] = values;
this.initalValues[step] = this.initalValues[step] || values;
}
@autobind