jeecgboot-VUE3版本弹出框,数据回填不显示

我根据官方文档的教程填写好如下图
在这里插入图片描述
但是页面显示的时候一直没有回填,后面看代码
需要生成的vue3的文件夹,找到对应的类的XXX.data.ts
即是前端文件夹中
jeecgboot-VUE3版本弹出框,数据回填不显示_第1张图片

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
        }
    },

你可能感兴趣的:(jeecgboot框架,vue.js,后端)