From f877ea29a3363133b7dc30d8adc477544a1eaf7f Mon Sep 17 00:00:00 2001 From: cqf <2252655793@qq.com> Date: 星期四, 26 五月 2022 14:21:58 +0800 Subject: [PATCH] 文件名称如果不以a62b结尾,补上a62b --- src/views/troubleshooting/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/troubleshooting/index.vue b/src/views/troubleshooting/index.vue index f018045..163e4cb 100644 --- a/src/views/troubleshooting/index.vue +++ b/src/views/troubleshooting/index.vue @@ -94,7 +94,7 @@ <el-table-column prop="ADDRESS" label="地点" align="center" width="120"></el-table-column> <el-table-column prop="HOST" label="主持人" align="center" width="120"></el-table-column> <el-table-column prop="CONFERENCE_PROFESSIONAL" label="会议专业" align="center" width="120"></el-table-column> - <el-table-column prop="meeting_content" label="会议摘要" align="center"></el-table-column> + <el-table-column prop="meeting_content" show-overflow-tooltip label="会议摘要" align="center"></el-table-column> <el-table-column prop="realFileName" label="会议纪要" align="center"> <template slot-scope="scope" > @@ -182,6 +182,7 @@ <el-upload class="upload-demo" ref="upload" + action="https://jsonplaceholder.typicode.com/posts/" :http-request="uploadSectionFile" :on-preview="handlePreview" :on-remove="handleRemove" @@ -359,7 +360,7 @@ if (data.ok) { var fileName = data.data.fileName[0]; if (!fileName.endsWith("a62b")) { - fileName = fileName + param.file.realFileName; + fileName = fileName + "a62b"; } this.fileList.push({name:fileName,url:fileName}) } -- Gitblit v1.9.2