From ce1979563514192c93caeb5f0bca3343de082b04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 26 Oct 2023 17:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=98=8E=E7=BB=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 6601c8f7e..8842d8c00 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -155,7 +155,13 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName: tableId: row.id, tableName: tableName, } - if(!props.isBasic) getList() // 加载明细列表 + // 加载明细列表 + if(!props.isBasic) { + tableObject.params = { + id: row.id + } + getList() + } isShowDrawer.value = true if (row) { detailLoading.value = true