From a4db210c069cd45448067fffb39f070e9d119bb9 Mon Sep 17 00:00:00 2001 From: linwenling <3256558519@qq.com> Date: 星期二, 26 九月 2023 17:00:32 +0800 Subject: [PATCH] 修改家大事记 的图片文件上传 直调接口 --- ruoyi-ui/src/views/bignote/familyeventInfo.vue | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue index f97c54c..59adf31 100644 --- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue +++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue @@ -69,8 +69,7 @@ class="el-upload-list__item-preview" @click="handlePictureCardPreview(file)" > -<!-- <i class="el-icon-zoom-in"></i>--> - <i v-if="isImage(file)" class="el-icon-zoom-in"></i> + <i class="el-icon-zoom-in"></i> </span> <span @@ -382,12 +381,7 @@ this.btn = true this.isShow=false }, - isImage(file) { - let pth = file.name.substr(file.name.length - 4, file.name.length); - - return this.fot.includes(pth) ; - }, requestUpload(params) { var file = params.file; -- Gitblit v1.9.1