fix(form): 配置了names,validator中的value应为model

This commit is contained in:
roymondchen 2022-07-05 14:44:22 +08:00 committed by jia000
parent 9454bb3679
commit 3090bc7763

View File

@ -223,7 +223,7 @@ export const getRules = function (mForm: FormState | undefined, rules: Rule[] |
fnc(
{
rule,
value,
value: props.config.names ? props.model : value,
callback,
source,
options,