From 7fc578dc2032fac935267e92208f7f11384e3800 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 28 十一月 2024 08:36:36 +0800
Subject: [PATCH] 修改了相关bug

---
 ruoyi-ui/src/views/clean/cleanInfo.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/ruoyi-ui/src/views/clean/cleanInfo.vue b/ruoyi-ui/src/views/clean/cleanInfo.vue
index 5ae540e..6fc5633 100644
--- a/ruoyi-ui/src/views/clean/cleanInfo.vue
+++ b/ruoyi-ui/src/views/clean/cleanInfo.vue
@@ -320,6 +320,7 @@
       this.loading = true;
       getCLeanInfo(id).then((response) => {
         this.formData = response.data;
+		console.log(this.formData)
         if(this.formData.kind==1)
         	this.formData.kind = '鏀剁撼'
         else
@@ -367,7 +368,7 @@
         }
         this.loading = false;
       });
-      this.getCateInfor()
+   //  this.getCateInfor()
 
     }
   },
@@ -380,10 +381,11 @@
         this.loading = true;
         getCLeanInfo(id).then((response) => {
           this.formData = response.data;
-          if(this.formData.kind==1)
-          	this.formData.kind = '鏀剁撼'
-          else
-          	this.formData.kind = '淇濇磥'
+         // if(this.formData.kind==1)
+        //  	this.formData.kind = '鏀剁撼'
+        //  else
+         // 	this.formData.kind = '淇濇磥'
+		 if(response.data.url!=null){
           let paths = response.data.url.split(",");
           for(let i = 0; i < paths.length; i++)
           {
@@ -406,10 +408,11 @@
             	}
               }
           }
+		  }
           _this.fileListOther = _this.fileListOther1
           this.loading = false;
         });
-        this.getCateInfor()
+       // this.getCateInfor()
 
       }
     },

--
Gitblit v1.9.1