form 刷新数据验证状态不更新的问题
This commit is contained in:
parent
ebe813970e
commit
e5373c64b9
|
@ -83,6 +83,10 @@ export const FormStore = ServiceStore.named('FormStore')
|
|||
function setValues(values: object, tag?: object, replace?: boolean) {
|
||||
self.updateData(values, tag, replace);
|
||||
|
||||
self.items.forEach(
|
||||
item => getVariable(values, item.name) !== undefined && item.reset()
|
||||
);
|
||||
|
||||
// 同步 options
|
||||
syncOptions();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue