소스 검색

地区修正

afa 9 달 전
부모
커밋
055d000f47
2개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      application/admin/command/Task.php
  2. 0 0
      public/assets/libs/area/area.js

+ 6 - 6
application/admin/command/Task.php

@@ -28,7 +28,6 @@ class Task extends Command
             $i = 0;
             foreach ($list as $key => $item) {
 
-              
                   $arr[$i]['label'] = $item;
                   $arr[$i]['id'] = $key;
                   $list1  =$reg::where('parent_id', '=', $key)->column('id,name');
@@ -46,11 +45,12 @@ class Task extends Command
 
                               $d = 0;
                               foreach ($list3 as $key3 => $item3) {
-
-                                    $arr[$i]['children'][$j]['children'][$s]['children'][$d]['label'] = $item3;
-                                    $arr[$i]['children'][$j]['children'][$s]['children'][$d]['id'] = $key3;
-
-                                    $d += 1;
+                                    if(!empty($item3)){
+                                          $arr[$i]['children'][$j]['children'][$s]['children'][$d]['label'] = $item3;
+                                          $arr[$i]['children'][$j]['children'][$s]['children'][$d]['id'] = $key3;
+                                          $d += 1;
+                                    }
+                               
                               }
                               $s +=1;
                         }

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
public/assets/libs/area/area.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.