From e6db32e2d5ccf1aa018f138f088795036c879de3 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 23 三月 2024 23:14:29 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-ui/src/views/bignote/index.vue |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/ruoyi-ui/src/views/bignote/index.vue b/ruoyi-ui/src/views/bignote/index.vue
index 0f5bf7a..c8ef1fd 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}
@@ -772,6 +767,7 @@
 	    uploadPic(formData).then(response => {
 		//	alert("dds")
 	      _this.formDat.url = _this.formDat.url+","+response.fileNames
+		  	//  alert(_this.formDat.url)
 		  _this.uploadFileList = []
 		  _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
 
@@ -783,7 +779,7 @@
     },
     requestUpload1(params)
     {
-		     this.uploadFileList1.push(params.file);
+		//     this.uploadFileList1.push(params.file);
     },
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {

--
Gitblit v1.9.1