!19 bug 修改

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

View File

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