forked from p96170835/amis
修复 form 底下的 service 重新拉取数据不同步的问你题
This commit is contained in:
parent
e8aad9919d
commit
c76c3fe703
|
@ -269,8 +269,7 @@ export default class FormControl extends React.PureComponent<
|
|||
if (
|
||||
form !== store &&
|
||||
data !== prevProps.data &&
|
||||
(value = getVariable(data as any, name)) !==
|
||||
getVariable(prevProps.data, name)
|
||||
(value = getVariable(data as any, name)) !== this.getValue()
|
||||
) {
|
||||
this.handleChange(value, false, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue