mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
fix 修复作为 form 用法 数据被无限叠加的问题
This commit is contained in:
parent
de70a8bc63
commit
f7d667560e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user