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

Signed-off-by: 疯狂的狮子Li <15040126243@163.com>
This commit is contained in:
疯狂的狮子Li
2023-09-30 14:43:10 +00:00
committed by Gitee
parent 099f9abdd3
commit 70ae031a38

View File

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