wenmenghao321 vor 2 Jahren
Ursprung
Commit
b7fbc2956a

+ 1 - 1
src/web/staticres/common-module/report-analysis/js/report_analysis.js

@@ -420,7 +420,7 @@ var vm = new Vue({
       if (scrollTop >= anchorTopList[1] && scrollTop < anchorTopList[2]) {
         i = 1
         
-      } else if (scrollTop > anchorTopList[2]) {
+      } else if (scrollTop > anchorTopList[2] && scrollTop > anchorTopList[1] && scrollTop > anchorTopList[0]) { //逻辑上多余判断条件 ,为了处理高度还没有计算出起始的 anchorTopList[2]为0 tab回显错误问题
         i = 2
       
       } else if (scrollTop < anchorTopList[1]) {