From cf0a60083830ebc460dab8e1e499bcaa9821f22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Tue, 6 Aug 2024 18:20:40 +0800 Subject: [PATCH] 08/06 --- src/views/mapping/packing/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mapping/packing/index.vue b/src/views/mapping/packing/index.vue index e310b603..21a9f5ba 100644 --- a/src/views/mapping/packing/index.vue +++ b/src/views/mapping/packing/index.vue @@ -130,8 +130,8 @@ async function handleDelete(record: Recordable) { console.log(record) const res: API.DataResult = await DelMappingPackage({ - id: '', - ids: [record.id], + id: `${record.id}`, + ids: [], }) if (res.succeeded) { notification.success({ message: res.message, duration: 3 })