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

This commit is contained in:
liaoxuezhi 2019-07-10 14:01:29 +08:00
parent 0594ee8c30
commit 8ffe03f069

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