【功能修复】修复控制台警告问题
parent
58455cd0a4
commit
1cb06911c7
|
@ -108,7 +108,7 @@ export function useFormFieldsPermission(defaultPermission: FieldPermissionType)
|
||||||
* @description 获取表单的字段
|
* @description 获取表单的字段
|
||||||
*/
|
*/
|
||||||
export function useFormFields() {
|
export function useFormFields() {
|
||||||
const formFields = inject<Ref<string[]>>('formFields') // 流程表单字段
|
const formFields = inject<Ref<string[]>>('formFields',ref([])) // 流程表单字段
|
||||||
return parseFormCreateFields(unref(formFields))
|
return parseFormCreateFields(unref(formFields))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue