feat: PSelect 暂存
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { FormKitNode } from '@formkit/core';
|
||||
import { text, group } from '@formkit/inputs';
|
||||
import { text } from '@formkit/inputs';
|
||||
import Swal from 'sweetalert2';
|
||||
|
||||
async function submit(formData: Record<string, any>, formNode: FormKitNode) {
|
||||
@ -66,6 +66,18 @@ async function submit(formData: Record<string, any>, formNode: FormKitNode) {
|
||||
toggleMask
|
||||
:feedback="false"
|
||||
/>
|
||||
<FormKit
|
||||
type="PSelect"
|
||||
name="PSelect"
|
||||
label="选择框"
|
||||
validation="required"
|
||||
:options="[
|
||||
'Option 1',
|
||||
'Option 2',
|
||||
'Option 3',
|
||||
]"
|
||||
value="Option 2"
|
||||
/>
|
||||
<FormKit
|
||||
v-if="!value?.PInputPassword"
|
||||
:type="text"
|
||||
|
Reference in New Issue
Block a user