diff --git a/app/admin/controller/Nav.php b/app/admin/controller/Nav.php index 7216cb6..7b4fc3a 100644 --- a/app/admin/controller/Nav.php +++ b/app/admin/controller/Nav.php @@ -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); diff --git a/view/admin/nav/index.html b/view/admin/nav/index.html index 49b167d..70128f0 100644 --- a/view/admin/nav/index.html +++ b/view/admin/nav/index.html @@ -82,9 +82,6 @@ {/if} -