feat: 更新 formkit 配置,移除不必要的插件和组件,优化代码结构
All checks were successful
/ test (push) Successful in 27s
/ surge (push) Successful in 31s

This commit is contained in:
严浩
2024-12-06 15:10:20 +08:00
parent a6ccc16adb
commit c4afb0342e
2 changed files with 5 additions and 24 deletions

View File

@ -97,13 +97,6 @@ const promiseOptions = new Promise<typeof K_OPTIONS>(resolve => {
optionLabel="label"
optionValue="value"
/>
<FormKit
type="dropdown"
name="dropdown"
label="选择框"
validation="required"
:options="() => { return K_OPTIONS }"
/>
<div class="flex flex-wrap gap-4">
<FormKit
@ -124,7 +117,7 @@ const promiseOptions = new Promise<typeof K_OPTIONS>(resolve => {
name="group"
>
<FormKit
type="text"
:type="text"
name="text-in-group-1"
>
</FormKit>
@ -135,7 +128,7 @@ const promiseOptions = new Promise<typeof K_OPTIONS>(resolve => {
name="group"
>
<FormKit
type="text"
:type="text"
name="text-in-group-2"
>
</FormKit>