fix 修复 树表生成查询变量使用错误

Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
feature/model
疯狂的狮子Li 1 year ago committed by Gitee
parent 2c64c66ed1
commit b24e6348c3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -453,7 +453,7 @@ const handleUpdate = async (row: ${BusinessName}VO) => {
if (row != null) { if (row != null) {
form.value.${treeParentCode} = row.${treeParentCode}; form.value.${treeParentCode} = row.${treeParentCode};
} }
const res = await get${BusinessName}(row.${treeCode}); const res = await get${BusinessName}(row.${pkColumn.javaField});
Object.assign(form.value, res.data); Object.assign(form.value, res.data);
#foreach ($column in $columns) #foreach ($column in $columns)
#if($column.htmlType == "checkbox") #if($column.htmlType == "checkbox")

Loading…
Cancel
Save