Ver Fonte

update src

luke há 6 anos atrás
pai
commit
f026753e79
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      pc_chat/src/components/chat.vue

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

@@ -1309,7 +1309,7 @@
 					// this.webTime = ''
 					this.artAndLeave = 10;
 					this.machineAndAtl = 100;
-					console.log(server, '============客服信息')
+					// console.log(server, '============客服信息')
 					this.service = server;
 					// console.log();
 					this.serviceImg = server.serverInfo.avatar;
@@ -1419,6 +1419,7 @@
 					this.machineAndAtl = 10;
 					this.selNum = 0;
 					this.showleaveIcon = true;
+					this.chatCont = []
 					this.chatCont.push({type: 'tips', str: 'resigtermsg'})
 					// 关闭清除历史信息
 					this.hisSviceChat = [];
@@ -1431,6 +1432,7 @@
 					this.serviceNotOnlineText = redata.msg;
 					this.service_on = false;
 					this.serverNotOnlin = true;
+					this.chatCont = []
 					this.chatCont.push({type: "tips", str: "serverNotOnlin"})
 					this.closeByServer = true;
 				}