This commit is contained in:
ktianc 2022-09-29 23:17:41 +08:00
parent 3250099714
commit d43d67276d
2 changed files with 2 additions and 9 deletions

View File

@ -23,7 +23,7 @@ export const useForm = (props?: FormProps) => {
await nextTick()
const form = unref(formRef)
if (!form) {
console.error('The form is not registered. Please use the register method to register')
console.error('Form 没有注册。请使用注册方式进行注册')
}
return form
}

View File

@ -65,18 +65,11 @@ const schema = reactive<FormSchema[]>([
label: '菜单图标',
component: 'Input',
colProps: {
span: 20
span: 24
},
componentProps: {
placeholder: '支持 Iconify 中的所有图标请登录网站自行搜索https://iconify.design/'
}
},
{
field: 'iconClick',
label: '',
colProps: {
span: 3
}
}
])