mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 05:18:34 +08:00
clearErrors 时候需要吧是否验证状态标记为空
This commit is contained in:
parent
0594ee8c30
commit
8ffe03f069
@ -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