From 7830983824f8ef09108ffdd488d91532af395fc3 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 26 Mar 2025 10:23:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BB=A3=E5=AE=A2=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=AD=E7=89=A9=E8=BD=A6=E5=A5=97=E9=A4=90?= =?UTF-8?q?=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/Instead/components/carts/item.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/tool/Instead/components/carts/item.vue b/src/views/tool/Instead/components/carts/item.vue index 6d3011a..9e732b5 100644 --- a/src/views/tool/Instead/components/carts/item.vue +++ b/src/views/tool/Instead/components/carts/item.vue @@ -200,7 +200,11 @@ const currentPrice = computed(() => { return 0; }); const proGroupInfo = computed(() => { - return JSON.parse(props.item.proGroupInfo); + try { + return JSON.parse(props.item.proGroupInfo); + } catch (e) { + return []; + } }); const discountNewPrice = computed(() => { return 0;