import type { FormItem } from '@sinoform/types'; /** * 通过表单项fieldName查找表单项对象(主要是为了做历史数据兼容性) * * @param items 表单项列表 * @param fieldName 表单项fieldName * @returns 返回查找到的表单项对象 */ export default function findFormItemByFieldName(items: FormItem[], fieldName: string): FormItem | undefined;