正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论