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;