Browse Source

Merge branch 'liuzj-permission-dev' into test

liuzejian 1 year ago
parent
commit
4eea08d4b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/Video/Http/Controllers/VideoCategoryController.php

+ 1 - 1
modules/Video/Http/Controllers/VideoCategoryController.php

@@ -25,7 +25,7 @@ class VideoCategoryController extends CatchController
             ];
         }
         foreach ($videoCategorys->where('pid', '!=', 0)->all() as $item) {
-            $data[$item->pid]['list'][] = [
+            $data[$item->pid]['children'][] = [
                 'value' => $item->id, 'label' => $item->category_name,
             ];
         }