From c003a5fb28554e2f37c431214dabf6f75f27cc29 Mon Sep 17 00:00:00 2001
From: Tcsm <1377977403@qq.com>
Date: 星期三, 26 七月 2023 16:52:06 +0800
Subject: [PATCH] 除魅宠外其它模块的图片删除均已完善

---
 ruoyi-ui/src/views/collection/collectionInfo.vue |   29 ++++-------------------------
 1 files changed, 4 insertions(+), 25 deletions(-)

diff --git a/ruoyi-ui/src/views/collection/collectionInfo.vue b/ruoyi-ui/src/views/collection/collectionInfo.vue
index c514730..b194bce 100644
--- a/ruoyi-ui/src/views/collection/collectionInfo.vue
+++ b/ruoyi-ui/src/views/collection/collectionInfo.vue
@@ -116,26 +116,6 @@
             </div>
           </el-upload>
 
-          <!--<h4 class="form-header">鍏朵粬闄勪欢 </h4>
-          <el-upload
-            action=""
-            :file-list="fileListOther"
-            class="upload-demo"
-            multiple
-            :on-preview="handlePreview"
-
-            :on-remove="handleRemove"
-            :http-request="requestUpload"
-            :show-file-list="true"
-          >
-            <el-button v-if="isShow" type="primary" >鐐瑰嚮涓婁紶</el-button>
-            <template #tip>
-              <div class="el-upload__tip">
-              </div>
-            </template>
-
-
-          </el-upload>-->
           <h4 class="form-header">鍏朵粬闄勪欢 </h4>
           <el-upload
             action=""
@@ -144,7 +124,7 @@
             multiple
             list-type="picture-card"
             :on-preview="handleFileCardPreview"
-            :on-remove="handleRemove"
+            :on-remove="handleRemoveFile"
             :http-request="requestUpload"
             :show-file-list="true"
           >
@@ -167,12 +147,11 @@
                     </span>
                     <span
                       v-if="isShow"
-                      @click="handleRemove(file)"
                       class="el-upload-list__item-delete"
-
+                      @click="handleDownload(file.url)"
                     >
-                      <i class="el-icon-download"></i>
-                    </span>
+                 <i class="el-icon-download"></i>
+                 </span>
                     <span
                       v-if="isShow"
                       class="el-upload-list__item-delete"

--
Gitblit v1.9.1