Commit 405d7466 authored by vben's avatar vben

fix(form): fix appendSchemaByField not work

parent 3549043f
......@@ -117,7 +117,7 @@ export function useFormEvents({
const schemaList: FormSchema[] = cloneDeep(unref(getSchema));
const index = schemaList.findIndex((schema) => schema.field === prefixField);
const hasInList = schemaList.some((item) => item.field === schema.field);
const hasInList = schemaList.some((item) => item.field === prefixField);
if (!hasInList) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment