我根据官方文档的教程填写好如下图
但是页面显示的时候一直没有回填,后面看代码
需要生成的vue3的文件夹,找到对应的类的XXX.data.ts
即是前端文件夹中
target对应的属性要变成驼峰式的写法,而不是写成数据库里的名字
componentProps: ({ formActionType }) => {
const {setFieldsValue} = formActionType;
return{
setFieldsValue:setFieldsValue,
code:"budget_item_select",
fieldConfig: [
{ source: 'id', target: 'itemSortId' },
{ source: 'item_sort_name', target: 'itemSortName' },
],
multi:true
}
},