Authored by 李奇

changed:断线提醒已经提示则不提示

... ... @@ -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);
}
... ...