From e82091a7a59f76c68dd97c503167e619c83a259c Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Thu, 13 Feb 2025 22:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/zhaomu/zhaomu-item.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/zhaomu/zhaomu-item.vue b/components/zhaomu/zhaomu-item.vue index 7171486..5f83268 100644 --- a/components/zhaomu/zhaomu-item.vue +++ b/components/zhaomu/zhaomu-item.vue @@ -57,8 +57,8 @@ watch:{ item:{ handler(val){ - this.iconTextArr = val.iconText.split(","); - this.imgArr = val.image.split(",") + this.iconTextArr = val.iconText ? val.iconText.split(",") : []; + this.imgArr = val.image ? val.image.split(",") : [] this.urls = val.popularizeRecruitLogList; }, immediate:true