Browse Source

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table into beta

lsc 1 năm trước cách đây
mục cha
commit
8f714b318a

+ 4 - 0
src/components/pages/classroomObservation/components/chatArea.vue

@@ -806,6 +806,7 @@ export default {
 							index: this.chatList.length,
 							is_mind_map: false,
 							fileid: _item.assistantName,
+							createtime:new Date().toLocaleString().replaceAll("/",'-')
 						});
 					} else {
 						this.chatList.push({
@@ -821,6 +822,7 @@ export default {
 							index: this.chatList.length,
 							is_mind_map: false,
 							fileid: _item.assistantName,
+							createtime:new Date().toLocaleString().replaceAll("/",'-')
 						});
 					}
 					this.scrollBottom();
@@ -865,6 +867,7 @@ export default {
 					filename: "",
 					index: this.chatList.length,
 					is_mind_map: false,
+					createtime:new Date().toLocaleString().replaceAll("/",'-'),
 					loading: true,
 				});
 				this.scrollBottom();
@@ -1359,6 +1362,7 @@ export default {
 									index: i,
 									is_mind_map: false,
 									fileid: _data[i].fileid,
+									createtime:_data[i].createtime
 								});
 							}
 							this.chatList = _chatList;