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

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

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

Loading…
Cancel
Save