解决定时轮询当为空时,不变更消息提示数字
Signed-off-by: ZhangKeqi <2329453+SevenLonelyDay@user.noreply.gitee.com>
This commit is contained in:
parent
2b38dbf933
commit
8b730cbc85
@ -220,7 +220,7 @@
|
||||
url: "/home/index/index",
|
||||
type:'post',
|
||||
success:function(e){
|
||||
if(e.code==0 && e.data!=''){
|
||||
if(e.code==0 && e.data!==''){
|
||||
if(e.data.msg_num>0){
|
||||
$('#msgNum').show().find('span').html(e.data.msg_num);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user