mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-18 11:30:05 +08:00
fix(form): 配置了names,validator中的value应为model
This commit is contained in:
parent
9454bb3679
commit
3090bc7763
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user