更新
This commit is contained in:
parent
3250099714
commit
d43d67276d
@ -23,7 +23,7 @@ export const useForm = (props?: FormProps) => {
|
|||||||
await nextTick()
|
await nextTick()
|
||||||
const form = unref(formRef)
|
const form = unref(formRef)
|
||||||
if (!form) {
|
if (!form) {
|
||||||
console.error('The form is not registered. Please use the register method to register')
|
console.error('Form 没有注册。请使用注册方式进行注册')
|
||||||
}
|
}
|
||||||
return form
|
return form
|
||||||
}
|
}
|
||||||
|
@ -65,18 +65,11 @@ const schema = reactive<FormSchema[]>([
|
|||||||
label: '菜单图标',
|
label: '菜单图标',
|
||||||
component: 'Input',
|
component: 'Input',
|
||||||
colProps: {
|
colProps: {
|
||||||
span: 20
|
span: 24
|
||||||
},
|
},
|
||||||
componentProps: {
|
componentProps: {
|
||||||
placeholder: '支持 Iconify 中的所有图标,请登录网站自行搜索:https://iconify.design/'
|
placeholder: '支持 Iconify 中的所有图标,请登录网站自行搜索:https://iconify.design/'
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
field: 'iconClick',
|
|
||||||
label: '',
|
|
||||||
colProps: {
|
|
||||||
span: 3
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user