mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
修复 form 底下的 service 重新拉取数据不同步的问你题
This commit is contained in:
parent
ed13dde3a5
commit
c6b1f2ae41
@ -269,8 +269,7 @@ export default class FormControl extends React.PureComponent<
|
|||||||
if (
|
if (
|
||||||
form !== store &&
|
form !== store &&
|
||||||
data !== prevProps.data &&
|
data !== prevProps.data &&
|
||||||
(value = getVariable(data as any, name)) !==
|
(value = getVariable(data as any, name)) !== this.getValue()
|
||||||
getVariable(prevProps.data, name)
|
|
||||||
) {
|
) {
|
||||||
this.handleChange(value, false, true);
|
this.handleChange(value, false, true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user