From 6206138deb1127cdd3d550d0502e857ab12d2c96 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Tue, 11 Feb 2025 20:54:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service-uniapp-client/pages/technician/technicianDetail.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service-uniapp-client/pages/technician/technicianDetail.vue b/service-uniapp-client/pages/technician/technicianDetail.vue index eb879a7..a4bb267 100644 --- a/service-uniapp-client/pages/technician/technicianDetail.vue +++ b/service-uniapp-client/pages/technician/technicianDetail.vue @@ -240,8 +240,8 @@ this.reviewQueryParams.tenantId = this.technicianDetail.id this.getReview(this.reviewQueryParams.fraction) - if (res.result.msgTechnician.images == '') { //如果用户没有上传个人相册,那么这里给个默认值 - this.technicianImages = ['/static/technician/album.png'] + if (!res.result.msgTechnician.images) { //如果用户没有上传个人相册,那么这里给个默认值 + this.technicianImages = this.technicianDetail.image ? this.technicianDetail.image.split(',') : [] } else { this.technicianImages = res.result.msgTechnician.images.split(',') }