From ceecc07ffc1f83d2dd3a4f57542c770cfca174f3 Mon Sep 17 00:00:00 2001 From: sexygoat <1538832180@qq.com> Date: Fri, 24 Apr 2026 11:28:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=B9=E9=87=8F=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/asset-management/iot-card-management/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/asset-management/iot-card-management/index.vue b/src/views/asset-management/iot-card-management/index.vue index 3413a82..3909ad4 100644 --- a/src/views/asset-management/iot-card-management/index.vue +++ b/src/views/asset-management/iot-card-management/index.vue @@ -1570,7 +1570,9 @@ // 根据选卡方式构建请求参数 const params: Partial = { selection_type: allocateForm.selection_type!, - to_shop_id: allocateForm.to_shop_id!, + to_shop_id: Array.isArray(allocateForm.to_shop_id) + ? allocateForm.to_shop_id[allocateForm.to_shop_id.length - 1] + : allocateForm.to_shop_id, remark: allocateForm.remark }