From 3f2502915c55fac8f76fe54c5fb0eeec5007680d Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 26 Mar 2026 09:31:26 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=A8=A1=E5=85=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/erp/moldlist/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/erp/moldlist/index.vue b/src/views/erp/moldlist/index.vue index 08f27119..e15b8a17 100644 --- a/src/views/erp/moldlist/index.vue +++ b/src/views/erp/moldlist/index.vue @@ -241,8 +241,8 @@ const handleDelete = async (ids: number | number[]) => { // 删除的二次确认 await message.delConfirm() // 发起删除 - const idsParam = buildIdsParam(ids) - await DeviceLedgerApi.deleteDeviceLedger(idsParam) + const idList = Array.isArray(ids) ? ids : [ids] + await Promise.all(idList.map((id) => MoldBrandApi.deleteMold(id))) message.success(t('common.delSuccess')) selectedIds.value = [] tableRef.value?.clearSelection?.()