clearErrors 时候需要吧是否验证状态标记为空

This commit is contained in:
liaoxuezhi 2019-07-10 14:01:29 +08:00
parent c78c1b3b08
commit 9b790a2000

View File

@ -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) {