fix 修复作为 form 用法 数据被无限叠加的问题

This commit is contained in:
liaoxuezhi 2021-01-29 23:15:18 +08:00
parent de70a8bc63
commit f7d667560e

View File

@ -44,7 +44,7 @@ export class RootRenderer extends React.Component<RootRendererProps> {
const props = this.props;
if (props.data !== prevProps.data) {
this.store.reInitData(props.data);
this.store.initData(props.data);
}
if (props.location !== prevProps.location) {