From 71e35528c8fc87f6796a67c53689ab9d072a91d5 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Tue, 18 Mar 2025 17:43:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=94=AE=E7=BD=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 0a68625..3e1999a 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -245,7 +245,7 @@ function handleSwitchChange(data: any) { // 售罄 function handleSwitchChangeTwo(data: any) { let obj = { - type: data.type == "sku" ? "sku" : "product", + type: data.specInfo ? "sku" : "product", id: data.id, isSoldOut: data.isSoldStock, };