Browse Source

会话禁止下载预览

liuQiang 1 year ago
parent
commit
f0b035e2a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/liveChat/index.vue

+ 2 - 2
src/views/liveChat/index.vue

@@ -811,14 +811,14 @@ onMounted(() => {
                   :src="forwardFile"
                   class="zhuanfa forwd shouzhi"
                   alt="转存"
-                  v-if="record.isForward"
+                  v-if="record.isForward && record.file.unloading"
                   @click="forwardClick(index, record.file?.docId)"
                 />
                 <img
                   :src="downFile"
                   class="zhuanfa downf shouzhi"
                   alt="下载"
-                  v-if="record.isForward"
+                  v-if="record.isForward && record.file.unloading"
                   @click="downClick(record.file)"
                 />
               </div>