mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
clearErrors 时候需要吧是否验证状态标记为空
This commit is contained in:
parent
c78c1b3b08
commit
9b790a2000
@ -321,7 +321,7 @@ export const FormStore = ServiceStore
|
||||
|
||||
function clearErrors() {
|
||||
const items = self.items.concat();
|
||||
items.forEach(item => item.clearError());
|
||||
items.forEach(item => item.reset());
|
||||
}
|
||||
|
||||
function reset(cb?: (data:any) => void) {
|
||||
|
Loading…
Reference in New Issue
Block a user