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/wish/wishInfo.vue | 33 ++++++--------------------------- 1 files changed, 6 insertions(+), 27 deletions(-) diff --git a/ruoyi-ui/src/views/wish/wishInfo.vue b/ruoyi-ui/src/views/wish/wishInfo.vue index 6daf558..61fa40f 100644 --- a/ruoyi-ui/src/views/wish/wishInfo.vue +++ b/ruoyi-ui/src/views/wish/wishInfo.vue @@ -117,26 +117,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="" @@ -145,7 +125,7 @@ multiple list-type="picture-card" :on-preview="handleFileCardPreview" - :on-remove="handleRemove" + :on-remove="handleRemoveFile" :http-request="requestUpload" :show-file-list="true" > @@ -168,12 +148,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" @@ -215,8 +194,8 @@ props: [], data() { return { - cdi:"鏀惰棌涓庤崳瑾夎缁嗕俊鎭�", - udi:"鏀惰棌涓庤崳瑾変俊鎭鎯�", + cdi:"鐧惧勾蹇冩効璇︾粏淇℃伅", + udi:"鐧惧勾蹇冩効淇℃伅璇︽儏", fot:[".jpg",".jif"], fileList:[ ], -- Gitblit v1.9.1