1
0
mirror of https://gitee.com/zoujingli/ThinkAdmin.git synced 2025-04-06 03:58:04 +08:00

Update Menu.php

This commit is contained in:
邹景立 2021-06-28 18:16:52 +08:00
parent 2b056a316f
commit 0466a93f6f

@ -48,8 +48,7 @@ class Menu extends Controller
{ {
$this->title = '系统菜单管理'; $this->title = '系统菜单管理';
$this->type = input('type', 'index'); $this->type = input('type', 'index');
$query = $this->_query($this->table); $this->_query($this->table)->order('sort desc,id asc')->page(false, true);
$query->order('sort desc,id asc')->page(false, true);
} }
/** /**