From 2ede1095a3a5024619e912606efa0d12d13d0b52 Mon Sep 17 00:00:00 2001 From: LiuHao Date: Mon, 17 Apr 2023 21:39:21 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90-?= =?UTF-8?q?=E7=94=9F=E6=88=90=E4=BF=A1=E6=81=AF-=E4=B8=8A=E7=BA=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=9A=84=E6=95=B0=E6=8D=AE=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/gen/editTable.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue index eec850e..eb11b88 100644 --- a/src/views/tool/gen/editTable.vue +++ b/src/views/tool/gen/editTable.vue @@ -176,7 +176,8 @@ const close = () => { const tableId = route.params && route.params.tableId as string; if (tableId) { // 获取表详细信息 - const res = await getGenTable(tableId); + const res = await getGenTable(tableId); + res.data.info.parentMenuId = Number(res.data.info.parentMenuId); columns.value = res.data.rows; info.value = res.data.info; tables.value = res.data.tables;