From b24e6348c3f807aaaf012cff4d947b28e0f6fbc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Sat, 30 Sep 2023 14:41:34 +0000 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=20=E6=A0=91=E8=A1=A8?= =?UTF-8?q?=E7=94=9F=E6=88=90=E6=9F=A5=E8=AF=A2=E5=8F=98=E9=87=8F=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 疯狂的狮子Li <15040126243@163.com> --- .../ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm index 7fb85b35..af3275ea 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/vm/vue/index-tree.vue.vm @@ -453,7 +453,7 @@ const handleUpdate = async (row: ${BusinessName}VO) => { if (row != null) { 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); #foreach ($column in $columns) #if($column.htmlType == "checkbox")