feat: 更新 formkit 配置,移除不必要的插件和组件,优化代码结构
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user