浏览代码

增加loading时长

SanHQin 1 年之前
父节点
当前提交
ed8efc1848

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

@@ -181,7 +181,7 @@
 					});;
 					});;
 					this.text = "";
 					this.text = "";
 					this.loading = false;
 					this.loading = false;
-				},1000)
+				},5000)
 				// this.chatList.push({
 				// this.chatList.push({
 				// 	role:"user",
 				// 	role:"user",
 				// 	content:this.text,
 				// 	content:this.text,
@@ -286,7 +286,7 @@
 						time:new Date().toLocaleString().replace(/\//ig,'-')
 						time:new Date().toLocaleString().replace(/\//ig,'-')
 					})
 					})
 					this.loading = false;
 					this.loading = false;
-				},500)
+				},2000)
 
 
 			},
 			},
 			noChangeRole(){
 			noChangeRole(){

+ 1 - 1
src/components/classRoomHelper/component/searchArea.vue

@@ -152,7 +152,7 @@ https://www.bilibili.com/video/BV1ZD4y1U7H7/ `;
 					  this.$refs.chatRef.scrollTop = this.$refs.chatRef.scrollHeight;
 					  this.$refs.chatRef.scrollTop = this.$refs.chatRef.scrollHeight;
 					});
 					});
 					this.loading = false;
 					this.loading = false;
-				},1000)
+				},5000)
 				// this.chatList.push({
 				// this.chatList.push({
 				// 	role:"user",
 				// 	role:"user",
 				// 	content:this.text,
 				// 	content:this.text,

+ 1 - 1
src/components/classRoomHelper/component/taskArea.vue

@@ -208,7 +208,7 @@ b.学生可以创建一个“绿色挑战”活动,鼓励家庭成员减少垃
 					  this.$refs.chatRef.scrollTop = this.$refs.chatRef.scrollHeight;
 					  this.$refs.chatRef.scrollTop = this.$refs.chatRef.scrollHeight;
 					});;
 					});;
 					this.loading = false;
 					this.loading = false;
-				},1000)
+				},5000)
 				// this.chatList.push({
 				// this.chatList.push({
 				// 	role:"user",
 				// 	role:"user",
 				// 	content:this.text,
 				// 	content:this.text,