zhouna hace 3 años
padre
commit
3cf476d293
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      src/js/cdssHorizontal.js

+ 6 - 0
src/js/cdssHorizontal.js

@@ -363,6 +363,12 @@ function renderPushData() {
 }
 function empty(){   //显示空状态
   setTimeout(function(){
+      if(!$(".rightWrapper .rightBoxTitle").html()){
+          $(".leftWrapper").css({
+              borderRight: "0px",
+              width: "100%"
+          })
+      }
       if($(".tabList .tab:first-child").is(".activeTab")&&$(".empty-right:visible").length===0&&$(".moduleItem:visible").length===0){
           $(".empty-box").hide();
           $(".empty-null").show();