!20 判断是否有消息内容如果没有消息内容不提示

Merge pull request !20 from ZhangKeqi/master
This commit is contained in:
勾股技术 2023-02-08 08:43:43 +00:00 committed by Gitee
commit 2613824121
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -227,7 +227,7 @@
else{
$('#msgNum').hide().find('span').html(0);
}
if(isClose==0){
if(isClose==0&&e.data&&e.data.length){
var html = '<ul id="messageul" style="line-height:24px;">';
$.each(e.data, function(key, value) {
if(key!='msg_num'){