zhouna %!s(int64=4) %!d(string=hai) anos
pai
achega
d257f422ed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/js/allotCheckTask.js

+ 1 - 1
src/js/allotCheckTask.js

@@ -659,7 +659,7 @@ function bindCheckerSelect(){
         $('.selectChecker').attr('title',itemName)
         $(".checkerList").css("display", "none")
         global_DeptAllId="";
-        const totalArr = global_DeptId?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
+        const totalArr = global_DeptId.trim()?global_DeptCheckers[global_DeptId]:global_Checkers[+global_activeTabCode+4];
         if(!itemId.trim()){
             renderCheckerTable(totalArr);
             return