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