From d75975f18f3d4e57eb7a94646b32c8a8b3f33ade Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期二, 12 三月 2024 21:54:59 +0800 Subject: [PATCH] 修改了bug --- ruoyi-ui/src/views/bignote/index.vue | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue index 0f5bf7a..fd35c32 100644 --- a/ruoyi-ui/src/views/bignote/index.vue +++ b/ruoyi-ui/src/views/bignote/index.vue @@ -334,7 +334,7 @@ @click="handleFileCardPreview(file)" > <i class="el-icon-zoom-in"></i> - </span>A + </span> <span @@ -640,9 +640,6 @@ this.$delete(this.fileList,i); this.$delete(this.uploadFileList,i); } - - //alert(this.formData.url) - } // let ul = this.fileList.map(function (elem){ // return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") @@ -657,11 +654,9 @@ for(let i = 0; i < this.fileListOther.length; i++) { if(this.fileListOther[i].url==file.url) - { - + { this.$delete(this.fileListOther,i); - this.$delete(this.uploadFileList1,i); - + this.$delete(this.uploadFileList1,i); } } }, @@ -757,7 +752,7 @@ //alert(976) //this.$refs.upload.submit(); //alert(8) - alert(this.uploadFileList.length) + //alert(this.uploadFileList.length) if(this.uploadFileList.length==0){ this.$modal.msgSuccess("鍥剧墖涓婁紶鍒楄〃涓嶈兘涓虹┖锛�"); return} @@ -783,7 +778,7 @@ }, requestUpload1(params) { - this.uploadFileList1.push(params.file); + // this.uploadFileList1.push(params.file); }, /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { -- Gitblit v1.9.1