fix(form): remove console error for setFieldsValue

移除setFieldsValue方法输出的控制台错误

fixed: #952
This commit is contained in:
无木 2021-07-23 01:13:10 +08:00
parent 27207a78ca
commit 8d185bb584

View File

@ -84,7 +84,7 @@ export function useFormEvents({
validKeys.push(key);
}
});
validateFields(validKeys);
validateFields(validKeys).catch((_) => {});
}
/**
* @description: Delete based on field name