xzw 7 月之前
父節點
當前提交
490842398c
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      scene/public/static/js/Hot.js

+ 3 - 2
scene/public/static/js/Hot.js

@@ -1912,9 +1912,10 @@ window.initHot = function(model){
     
     Hot.createHotList = function() {
         //if(!window.DATA.showHotListSta)return
-        var docFragment = document.createDocumentFragment();
-        var hots = hotGroup.children.filter(hot=>hot.info.actionType.openHot);
+        var docFragment = document.createDocumentFragment(); 
+        var hots = hotGroup.children.filter(hot=>hot.info.actionType.openHot); 
         hots = hots.sort((a,b)=>{return a.order - b.order});
+        window.myHotList = hots //add
         hots.forEach((hot)=>{
             var li = document.createElement('li');
             var span = document.createElement('span');