【功能修复】修复控制台警告问题

pull/682/head
jason 2025-01-23 20:51:00 +08:00
parent 58455cd0a4
commit 1cb06911c7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ export function useFormFieldsPermission(defaultPermission: FieldPermissionType)
* @description
*/
export function useFormFields() {
const formFields = inject<Ref<string[]>>('formFields') // 流程表单字段
const formFields = inject<Ref<string[]>>('formFields',ref([])) // 流程表单字段
return parseFormCreateFields(unref(formFields))
}