From a430645a9ce96eb385fae23d2a148b8de26e27f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=88=AA?= Date: Mon, 9 Mar 2026 15:18:20 +0800 Subject: [PATCH] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E=E5=90=89?= =?UTF-8?q?=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=5Ffix=EF=BC=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/comment-input/comment-input.vue | 3 ++- src/pages/courseDetail/components/comment.vue | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/comment-input/comment-input.vue b/src/components/comment-input/comment-input.vue index 556c00b8..48b56264 100644 --- a/src/components/comment-input/comment-input.vue +++ b/src/components/comment-input/comment-input.vue @@ -302,7 +302,8 @@ imgIdList: fileList.value, // 发表图片ID列表,文件ID集 bbsGrade: bbsGrade.value, // 综合评分(最高10分) bbsTag: bbsTag.value, // 评价标签 (SUG 建议 ASK 提问 ) - bbsContent: value.value // 评价内容 + bbsContent: value.value, // 评价内容 + imgTyp: isImg.value? '01':'02' } publishCrsEvaluation(_params).then((res) => { const loadingDuration = Date.now() - loadingStartTime; diff --git a/src/pages/courseDetail/components/comment.vue b/src/pages/courseDetail/components/comment.vue index 27d03010..840b5aec 100644 --- a/src/pages/courseDetail/components/comment.vue +++ b/src/pages/courseDetail/components/comment.vue @@ -30,7 +30,7 @@ { + const showPicture = (urls, item, itemInfo) => { + if(itemInfo.imgTyp === '02') return const base_url = get_base_url(); const current = urls.findIndex((res) => item === res); if (current === -1) { @@ -231,7 +232,6 @@ } const token = getToken() const urlsList = urls.map((res) => base_url + res+'?tk='+ token); - console.log(urlsList, current); uni.previewImage({ current: current || 0, urls: urlsList,