mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-19 03:55:50 +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(
|
fnc(
|
||||||
{
|
{
|
||||||
rule,
|
rule,
|
||||||
value,
|
value: props.config.names ? props.model : value,
|
||||||
callback,
|
callback,
|
||||||
source,
|
source,
|
||||||
options,
|
options,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user