diff --git a/app/admin/controller/Menu.php b/app/admin/controller/Menu.php index 58df4e578..908b3f86b 100644 --- a/app/admin/controller/Menu.php +++ b/app/admin/controller/Menu.php @@ -41,12 +41,9 @@ class Menu extends Controller */ public function index() { + $this->title = '系统菜单管理'; $this->type = input('get.type', 'index'); - SystemMenu::mQuery()->layTable(function () { - $this->title = '系统菜单管理'; - }, function (QueryHelper $query) { - $query->order('sort desc,id asc'); - }); + SystemMenu::mQuery()->layTable(); } /** diff --git a/app/admin/controller/Queue.php b/app/admin/controller/Queue.php index c4978f4c3..ce69ded35 100644 --- a/app/admin/controller/Queue.php +++ b/app/admin/controller/Queue.php @@ -45,7 +45,6 @@ class Queue extends Controller SystemQueue::mQuery()->layTable(function () { $this->title = '系统任务管理'; $this->iswin = ProcessService::instance()->iswin(); - // 超级管理面板 if ($this->super = AdminService::instance()->isSuper()) { $process = ProcessService::instance(); if ($process->iswin() || empty($_SERVER['USER'])) { diff --git a/app/admin/view/menu/form.html b/app/admin/view/menu/form.html index 7cb2aade4..d31ad8377 100644 --- a/app/admin/view/menu/form.html +++ b/app/admin/view/menu/form.html @@ -1,4 +1,4 @@ -