feat: 在 PSelect 组件中添加 blur 事件处理,优化输入交互体验
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user