fix: 'args' is declared but its value is never read.
All checks were successful
/ surge (push) Successful in 34s

This commit is contained in:
严浩
2024-11-15 13:05:36 +08:00
parent 0b64737bcc
commit 95068e8dde

View File

@ -51,10 +51,10 @@ onMounted(() => {
validation-visibility="live"
validation="validateGroup"
:validation-messages="{
validateGroup: ({ name, args }) => {
return `字段 ${name} 必须包含 '测试' 字符串。`
},
}"
validateGroup: ({ name/* , args */ }) => {
return `字段 ${name} 必须包含 '测试' 字符串。`
},
}"
#default="{ id, messages, fns, classes }"
>
@ -76,10 +76,10 @@ onMounted(() => {
name="flavors"
label="最喜欢的冰淇淋口味"
:options="{
'vanilla': '香草',
'chocolate': '巧克力',
'strawberry': '草莓',
}"
'vanilla': '香草',
'chocolate': '巧克力',
'strawberry': '草莓',
}"
validation="required|min:2"
/>
<FormKit