Merge branch 'release/5.3' into gray
Showing
3 changed files
with
3 additions
and
4 deletions
@@ -139,7 +139,6 @@ | @@ -139,7 +139,6 @@ | ||
139 | {{> common/goods}} | 139 | {{> common/goods}} |
140 | {{/@root.firstPageGoodsList}} | 140 | {{/@root.firstPageGoodsList}} |
141 | </div> | 141 | </div> |
142 | - <div class="search-divide">正在加载...</div> | ||
143 | <div class="default-goods container clearfix"></div> | 142 | <div class="default-goods container clearfix"></div> |
144 | <div class="new-goods container clearfix"></div> | 143 | <div class="new-goods container clearfix"></div> |
145 | <div class="sale-goods container clearfix"></div> | 144 | <div class="sale-goods container clearfix"></div> |
@@ -13,7 +13,7 @@ module.exports = () => { | @@ -13,7 +13,7 @@ module.exports = () => { | ||
13 | pageChannel: {} | 13 | pageChannel: {} |
14 | }; | 14 | }; |
15 | 15 | ||
16 | - let ua = req.get('User-Agent').toLowerCase(); | 16 | + let ua = (req.get('User-Agent') || '').toLowerCase(); |
17 | 17 | ||
18 | const channel = req.query.channel || req.cookies._Channel || 'boys'; | 18 | const channel = req.query.channel || req.cookies._Channel || 'boys'; |
19 | 19 |
@@ -212,7 +212,7 @@ var chat = { | @@ -212,7 +212,7 @@ var chat = { | ||
212 | self._sysInfo(`您对我们的服务评价为:${data}`); | 212 | self._sysInfo(`您对我们的服务评价为:${data}`); |
213 | self.canEvalute = false; | 213 | self.canEvalute = false; |
214 | cmEntity.type = socketConf.recType.EVALUTE_SUCCESS; | 214 | cmEntity.type = socketConf.recType.EVALUTE_SUCCESS; |
215 | - socket.send(cmEntity); | 215 | + socket.send(JSON.stringify(cmEntity)); |
216 | resizeFooter(); | 216 | resizeFooter(); |
217 | }); | 217 | }); |
218 | 218 | ||
@@ -413,7 +413,7 @@ var chat = { | @@ -413,7 +413,7 @@ var chat = { | ||
413 | case 1: | 413 | case 1: |
414 | viewData.type = msgTypeMap[1]; | 414 | viewData.type = msgTypeMap[1]; |
415 | viewData.data = { | 415 | viewData.data = { |
416 | - content: emojiHanlder(chatMessage.content) | 416 | + content: emojiHanlder(chatMessage.newContent) |
417 | }; | 417 | }; |
418 | 418 | ||
419 | break; | 419 | break; |
-
Please register or login to post a comment