luke 6 жил өмнө
parent
commit
cb1e7a8b8f

+ 3 - 1
pc_chat/src/components/chat.vue

@@ -636,7 +636,6 @@
 			 */
 
 			formatDate: function (value, custom='',isDtae=3) {
-				console.log(value)
 				let timeStamp =value;
 				var date = new Date();
 				date.setTime(timeStamp * 1000);
@@ -811,6 +810,7 @@
 				}))
 				this.goBack();
 			},
+
 			// 关闭评价框按钮
 			closeEvl(){
 				this.evlShow = false;
@@ -1260,6 +1260,8 @@
 				}
 				//接收客服会话
 				if (redata.message_type == 'chatMessage') {
+					// 转接的时候清除历史信息
+					this.hisSviceChat = [];
 					// 接收提示音
 					this.receiveAudio();
 					//存储会话超时间