mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
去掉导航的分页
This commit is contained in:
@@ -20,7 +20,7 @@ class Nav extends Common
|
||||
//
|
||||
$type = $request->param('type',1);
|
||||
|
||||
$list = ModelNav::order('sort asc')->order('id asc')->where('type',$type)->paginate();
|
||||
$list = ModelNav::order('sort asc')->order('id asc')->where('type',$type)->select();
|
||||
|
||||
View::assign('type', $type);
|
||||
View::assign('list', $list);
|
||||
|
||||
@@ -82,9 +82,6 @@
|
||||
{/if}
|
||||
</tbody>
|
||||
</table>
|
||||
<div>
|
||||
{$list|raw}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user