瀏覽代碼

提示语叠加

TANGSHIZHE 4 年之前
父節點
當前提交
942941659d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/jfw/modules/app/src/web/templates/weixin/historypush.html

+ 2 - 1
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -987,12 +987,13 @@ window.listScroll = function() {
 
 function hasNoData() {
     var nokeyNoDataShow = $('.findnull-no-key').is(':visible')
+    var NoDataShow = $('.findnull-no-key').is(':hidden')
     $(".listcontent").hide()
     $("#loading").hide()
     $(".color_top").hide()
     // 如果no-key-no-data 不显示,才会显示no-data
     console.log(nokeyNoDataShow, 'nokeyNoDataShow')
-    if (!nokeyNoDataShow) {
+    if (!nokeyNoDataShow || !NoDataShow) {
         $(".findnull_").css("display", "block").siblings('.empty').hide()
     }
 }