fix: form validate for number tyope, close #5064

doc-form
tangjinzhou 3 years ago
parent 96c50cf637
commit 5ce268846b

@ -32,6 +32,7 @@ async function validateRule(
// Bug of `async-validator` // Bug of `async-validator`
delete (cloneRule as any).ruleIndex; delete (cloneRule as any).ruleIndex;
delete (cloneRule as any).trigger;
// We should special handle array validate // We should special handle array validate
let subRuleField: RuleObject = null; let subRuleField: RuleObject = null;

Loading…
Cancel
Save