From d13854db6e3b390a234fe9ecc8ab44167b775b3c Mon Sep 17 00:00:00 2001 From: huyuanxiang <273637057@qq.com> Date: Fri, 11 Aug 2023 17:18:39 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E6=97=A0=E5=9B=BE=E7=89=87=E5=88=86?= =?UTF-8?q?=E7=A6=BB=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/commponent/home/goodList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/commponent/home/goodList.vue b/pages/commponent/home/goodList.vue index dc1e616..bd485ea 100644 --- a/pages/commponent/home/goodList.vue +++ b/pages/commponent/home/goodList.vue @@ -192,7 +192,7 @@ } const item = this.goodsItem const cartList = getCart() - item.imgList = item.url.split(',') + item.imgList = (item.url && item.url.split(',')) ||[] item.number = number item._selectedSku = [{ id: item.id,