فهرست منبع

fix(questionsAndAnswers): replace custom preview with global image preview component

replace the manual previewImage call with the built-in $hevueImgPreview method to use the project's unified image preview capability
SanHQin 2 روز پیش
والد
کامیت
a9d66cf8d0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/components/pages/workPage/components/questionsAndAnswers.vue

+ 1 - 1
src/components/pages/workPage/components/questionsAndAnswers.vue

@@ -3,7 +3,7 @@
     <div class="qaa_title">{{ work.answerQ }}从撒擦撒</div>
     <div class="qaa_img" v-if="work.imageList && work.imageList.length > 0">
       <div v-for="(item, index) in work.imageList" :key="index">
-        <img :src="item.url" alt="" @click="previewImage(item.url)">
+        <img :src="item.url" alt="" @click="$hevueImgPreview(item.url)">
       </div>
     </div>
     <div class="qaa_type">{{ lang.ssQAQuestion }}</div>