Update Menu.php

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

View File

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