bug:用户提交评价会携带上一次 消息的内容
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -310,6 +310,8 @@ let chat = { | @@ -310,6 +310,8 @@ let chat = { | ||
310 | self._sysInfo(`您对我们的服务评价为:${data}`); | 310 | self._sysInfo(`您对我们的服务评价为:${data}`); |
311 | self.canEvalute = false; | 311 | self.canEvalute = false; |
312 | cmEntity.type = socketConf.recType.EVALUTE_SUCCESS; | 312 | cmEntity.type = socketConf.recType.EVALUTE_SUCCESS; |
313 | + cmEntity.chatMessage.type = 1; | ||
314 | + cmEntity.chatMessage.content = ''; | ||
313 | if (state === WebSocket.OPEN) { | 315 | if (state === WebSocket.OPEN) { |
314 | socket.send(JSON.stringify(cmEntity)); | 316 | socket.send(JSON.stringify(cmEntity)); |
315 | } | 317 | } |
-
Please register or login to post a comment