Explorar el Código

条目缺陷占比详情页面包屑返回报错

zhangxc hace 5 años
padre
commit
ac38e90b46
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/js/singleVeto.js

+ 2 - 2
src/js/singleVeto.js

@@ -56,8 +56,8 @@ $(function(){
         $(".partTitle a").attr("href","console.html").html("控制台 / ")
         $(".partTitle .pices span").html("条目缺陷占比")
     }
-    if(fromThree == 3){
-        deptName = deptList[0].deptName||'';
+    if(from == 2&&fromThree == 3){
+        deptName =  deptList[0]&&deptList[0].deptName||'';
     }
     $(".partTitle a").click(function(){
         //初始菜单选中