fix: 'args' is declared but its value is never read.
All checks were successful
/ surge (push) Successful in 34s
All checks were successful
/ surge (push) Successful in 34s
This commit is contained in:
@ -51,10 +51,10 @@ onMounted(() => {
|
|||||||
validation-visibility="live"
|
validation-visibility="live"
|
||||||
validation="validateGroup"
|
validation="validateGroup"
|
||||||
:validation-messages="{
|
:validation-messages="{
|
||||||
validateGroup: ({ name, args }) => {
|
validateGroup: ({ name/* , args */ }) => {
|
||||||
return `字段 ${name} 必须包含 '测试' 字符串。`
|
return `字段 ${name} 必须包含 '测试' 字符串。`
|
||||||
},
|
},
|
||||||
}"
|
}"
|
||||||
#default="{ id, messages, fns, classes }"
|
#default="{ id, messages, fns, classes }"
|
||||||
>
|
>
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ onMounted(() => {
|
|||||||
'vanilla': '香草',
|
'vanilla': '香草',
|
||||||
'chocolate': '巧克力',
|
'chocolate': '巧克力',
|
||||||
'strawberry': '草莓',
|
'strawberry': '草莓',
|
||||||
}"
|
}"
|
||||||
validation="required|min:2"
|
validation="required|min:2"
|
||||||
/>
|
/>
|
||||||
<FormKit
|
<FormKit
|
||||||
|
Reference in New Issue
Block a user