浏览代码

fix: $("#hotListText span").html(hots.length)

xzw 1 年之前
父节点
当前提交
a31d45bcea
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      js/Hot.js

+ 1 - 0
js/Hot.js

@@ -1636,6 +1636,7 @@ window.initHot = function(model){
         var docFragment = document.createDocumentFragment();
         var hots = hotGroup.children.filter(hot=>hot.info.actionType.openHot);
         hots = hots.sort((a,b)=>{return a.order - b.order});
+        $("#hotListText span").html(hots.length)
         hots.forEach((hot)=>{
             var li = document.createElement('li');
             var span = document.createElement('span');