瀏覽代碼

页面调整

shuhao 6 月之前
父節點
當前提交
d610a509df
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/home/album/album_compoents/albumDrawBox.vue

+ 1 - 1
src/views/home/album/album_compoents/albumDrawBox.vue

@@ -5,7 +5,7 @@
   >
     <img v-if="Math.abs(current - index) < 3" crossorigin="anonymous" @load="drawWatermark($event)" loading="lazy" :src="watermark || (base_img_url2 + (photo.resFilename ? photo.resFilename : photo.filename) + resize)" style="width: 100%;" />
     <canvas  ref="canvasRef" style="position: absolute;"></canvas>
-    <div class="tag-text" v-if="showTagBox" >
+    <div class="tag-text" v-if="photo.growText && showTagBox" >
       <span v-html="photo.growText"></span>
       <button class="close-button" @click="hideTagBox">✖</button>
     </div>