SanHQin před 11 měsíci
rodič
revize
0db03cc400

+ 5 - 2
src/components/classRoomHelper/component/dialogArea.vue

@@ -402,7 +402,8 @@ export default {
             if (res.data.FunctionResponse.result == "发送成功") {
             } else {
               this.chatLoading = false;
-              this.$message.warning(res.data.FunctionResponse.result);
+							console.log(res.data.FunctionResponse.result)
+              //this.$message.warning(res.data.FunctionResponse.result);
             }
           })
           .catch(err => {
@@ -497,7 +498,8 @@ export default {
             if (res.data.FunctionResponse.result == "发送成功") {
             } else {
               this.chatLoading = false;
-              this.$message.warning(res.data.FunctionResponse.result);
+              // this.$message.warning(res.data.FunctionResponse.result);
+							console.log(res.data.FunctionResponse.result)
             }
           })
           .catch(e => {
@@ -828,6 +830,7 @@ export default {
         })
         .catch(e => {
           this.chatLoading = false;
+					this.chatList.find(i => i.uid == _uuid).loading = false;
           console.log(e);
         });
 		},

+ 9 - 4
src/components/classRoomHelper/component/searchArea.vue

@@ -1034,7 +1034,8 @@ export default {
         .then(res => {
           if (res.data.FunctionResponse.result == "发送成功") {
           } else {
-            this.$message.warning(res.data.FunctionResponse.result);
+            // this.$message.warning(res.data.FunctionResponse.result);
+						console.log(res.data.FunctionResponse.result)
             this.chatLoading = false;
           }
         })
@@ -1200,7 +1201,8 @@ ${_atList
         .then(res => {
           if (res.data.FunctionResponse.result == "发送成功") {
           } else {
-            this.$message.warning(res.data.FunctionResponse.result);
+            // this.$message.warning(res.data.FunctionResponse.result);
+						console.log(res.data.FunctionResponse.result)
             this.chatLoading = false;
           }
         })
@@ -1684,6 +1686,7 @@ Instruction: Based on the context, follow "Format example", write content
         })
         .catch(e => {
           this.chatLoading = false;
+					this.chatList.find(i => i.uid == _uuid).loading = false;
           console.log(e);
         });
 		},
@@ -1933,7 +1936,8 @@ ${_wordData}
               if (res.data.FunctionResponse.result == "发送成功") {
                 this.loading = false;
               } else {
-                this.$message.warning(res.data.FunctionResponse.result);
+                // this.$message.warning(res.data.FunctionResponse.result);
+								console.log(res.data.FunctionResponse.result)
                 this.chatLoading = false;
                 this.loading = false;
               }
@@ -2125,7 +2129,8 @@ ${_wordData}
         .then(res => {
           if (res.data.FunctionResponse.result == "发送成功") {
           } else {
-            this.$message.warning(res.data.FunctionResponse.result);
+            // this.$message.warning(res.data.FunctionResponse.result);
+						console.log(res.data.FunctionResponse.result)
             this.chatLoading = false;
           }
         })

+ 5 - 2
src/components/classRoomHelper/component/taskArea.vue

@@ -684,7 +684,8 @@ export default {
         .then(res => {
           if (res.data.FunctionResponse.result == "发送成功") {
           } else {
-            this.$message.warning(res.data.FunctionResponse.result);
+            // this.$message.warning(res.data.FunctionResponse.result);
+						console.log(res.data.FunctionResponse.result)
             this.chatLoading = false;
           }
         })
@@ -904,7 +905,8 @@ Instruction: Based on the context, follow "Format example", write content.
         .then(res => {
           if (res.data.FunctionResponse.result == "发送成功") {
           } else {
-            this.$message.warning(res.data.FunctionResponse.result);
+            //this.$message.warning(res.data.FunctionResponse.result);
+						console.log(res.data.FunctionResponse.result)
             this.chatLoading = false;
           }
         })
@@ -1022,6 +1024,7 @@ Instruction: Based on the context, follow "Format example", write content.
         })
         .catch(e => {
           this.chatLoading = false;
+					this.chatList.find(i => i.uid == _uuid).loading = false;
           console.log(e);
         });
 		},