...
|
...
|
@@ -617,7 +617,8 @@ function pageInit() { |
|
|
* 连接socket
|
|
|
*/
|
|
|
function connectSocket() {
|
|
|
var $iconEval = $('.icon.evaluate'),
|
|
|
var $reconnect,
|
|
|
$iconEval = $('.icon.evaluate'),
|
|
|
$iconMs = $('.icon.manual-service'),
|
|
|
$connectFail = $('.connect-fail'),
|
|
|
|
...
|
...
|
@@ -649,7 +650,12 @@ function pageInit() { |
|
|
|
|
|
onClose: function() {
|
|
|
$iconEval.hide();
|
|
|
$reconnect = $msgList.find('.list-item')
|
|
|
.last().find('.reconnect');
|
|
|
|
|
|
if(!$reconnect.length) {
|
|
|
offlineTip();
|
|
|
}
|
|
|
},
|
|
|
|
|
|
connectFailCb: function() {
|
...
|
...
|
@@ -755,7 +761,7 @@ function pageInit() { |
|
|
data: data,
|
|
|
success: function(res) {
|
|
|
if (res && res.code === 200) {
|
|
|
if(hasMore) {
|
|
|
if (hasMore) {
|
|
|
msgList = res.data && res.data.records || [];
|
|
|
msgResolve(msgList);
|
|
|
}
|
...
|
...
|
|