qifengquan 1 年之前
父節點
當前提交
5b07bb34dc
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      application/admin/controller/document/Index.php

+ 2 - 1
application/admin/controller/document/Index.php

@@ -52,7 +52,8 @@ class Index extends Backend
             3 => '海柿购',
             3 => '海柿购',
             4 => '柿知识'
             4 => '柿知识'
         ];
         ];
-        $categorydata = [0,1,2,3,4];
+        $categorydata = [0 => ['belong' => '0,1,2,3,4', 'title' => __('None')]];
+
         foreach ($this->rulelist as $k => $v) {
         foreach ($this->rulelist as $k => $v) {
             $categorydata[$v['id']] = $v;
             $categorydata[$v['id']] = $v;
         }
         }