作者 lihan
1 个管道 的构建 通过 耗费 0 秒

项目细节完善

@@ -77,7 +77,7 @@ class PortalCategoryModel extends Model @@ -77,7 +77,7 @@ class PortalCategoryModel extends Model
77 $newCategories = []; 77 $newCategories = [];
78 foreach ($categories as $item) { 78 foreach ($categories as $item) {
79 $item['checked'] = in_array($item['id'], $currentIds) ? "checked" : ""; 79 $item['checked'] = in_array($item['id'], $currentIds) ? "checked" : "";
80 - $item['url'] = cmf_url('portal/List/index', ['id' => $item['id']]);; 80 + //$item['url'] = cmf_url('portal/List/index', ['id' => $item['id']]);;
81 $item['str_action'] = '<a href="' . url("AdminCategory/add", ["parent" => $item['id']]) . '">添加子分类</a> <a href="' . url("AdminCategory/edit", ["id" => $item['id']]) . '">' . lang('EDIT') . '</a> <a class="js-ajax-delete" href="' . url("AdminCategory/delete", ["id" => $item['id']]) . '">' . lang('DELETE') . '</a> '; 81 $item['str_action'] = '<a href="' . url("AdminCategory/add", ["parent" => $item['id']]) . '">添加子分类</a> <a href="' . url("AdminCategory/edit", ["id" => $item['id']]) . '">' . lang('EDIT') . '</a> <a class="js-ajax-delete" href="' . url("AdminCategory/delete", ["id" => $item['id']]) . '">' . lang('DELETE') . '</a> ';
82 array_push($newCategories, $item); 82 array_push($newCategories, $item);
83 } 83 }