feat: 在 PSelect 组件中添加 blur 事件处理,优化输入交互体验
All checks were successful
/ test (push) Successful in 20s
/ surge (push) Successful in 48s

This commit is contained in:
严浩
2024-12-06 11:23:05 +08:00
parent a9fb4bc208
commit 603c1047fc
3 changed files with 54 additions and 52 deletions

View File

@ -71,14 +71,13 @@ async function submit(formData: Record<string, any>, formNode: FormKitNode) {
name="PSelect"
label="选择框"
validation="required"
:options="[
'Option 1',
'Option 2',
'Option 3',
]"
valuee="Option 2"
/>
<!-- :options="async () => {
return [
{ label: 'Option 1', value: '1' },
{ label: 'Option 2', value: '2' },
{ label: 'Option 3', value: '3' },
]
}" -->
<FormKit
v-if="!value?.PInputPassword"
:type="text"