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:
16
src/App.vue
16
src/App.vue
@ -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
|
||||
|
Reference in New Issue
Block a user