From 318ddd1efcdbd1a208211707aca461b5e7a7023b Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 17:00:33 +0800 Subject: [PATCH] 修改删除bug --- src/views/procurementManagement/invoiceEntry/index.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue index e899511..a1e02e5 100644 --- a/src/views/procurementManagement/invoiceEntry/index.vue +++ b/src/views/procurementManagement/invoiceEntry/index.vue @@ -186,8 +186,10 @@ const handleDelete = () => {}; const expandChange = async (row, expandedRows) => { - await nextTick(); - expandTableRef.value.getList(row.id); + if (expandedRows.length > 0) { + await nextTick(); + expandTableRef.value.getList(row.id); + } }; const changePage = ({ page }) => { -- Gitblit v1.9.3