From 43e1199ca0c75787fb6b52bef7d595abd115ceab Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期四, 02 一月 2025 21:44:58 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-ui/src/views/meeting/webcast.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-ui/src/views/meeting/webcast.vue b/ruoyi-ui/src/views/meeting/webcast.vue
index 70863c1..16ecd89 100644
--- a/ruoyi-ui/src/views/meeting/webcast.vue
+++ b/ruoyi-ui/src/views/meeting/webcast.vue
@@ -280,7 +280,7 @@
       submitDataScope: function() {
         let ul = this.fileList[0].url
         this.formDat.avatar = ul,
-        alert(this.formDat.avatar)
+        // alert(this.formDat.avatar)
         this.$refs["elForm"].validate(valid => {
           if (valid && this.formDat.roomId > 0) {
             addWebcast(this.formDat).then(response => {
@@ -297,6 +297,7 @@
               // for(let i = 0; i < this.fileListOther.length; i++){
               //   this.handleRemoveFile(this.fileListOther[0]);
               // }
+			  this.fileList = []
               this.getList();
             });
           }else{
@@ -343,7 +344,7 @@
         _this.fileList.push({name:response.data.fileName, url:response.data.url})
         console.log(this.fileList)
         // _this.fileList2.push({name:response.data.fileName, url:response.data.url})
-        alert('ok')
+        // alert('ok')
       })
 
     },

--
Gitblit v1.9.1