mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix:修复Form 表单项设置validateOnChange,初始化 initApi后,validate被触发 (#8387)
Co-authored-by: 张先林 <zxlfirst@mail.com>
This commit is contained in:
parent
aae65411c4
commit
6f599d5d93
@ -193,7 +193,7 @@ export const FormStore = ServiceStore.named('FormStore')
|
||||
}
|
||||
}
|
||||
item.reset();
|
||||
item.validateOnChange && item.validate(self.data);
|
||||
self.inited && item.validateOnChange && item.validate(self.data);
|
||||
});
|
||||
|
||||
// 同步 options
|
||||
|
Loading…
Reference in New Issue
Block a user