去掉导航的分页

This commit is contained in:
augushong
2020-11-20 14:39:32 +08:00
parent ba326863ae
commit e83ee7625c
2 changed files with 1 additions and 4 deletions

View File

@@ -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);

View File

@@ -82,9 +82,6 @@
{/if}
</tbody>
</table>
<div>
{$list|raw}
</div>
</div>
</div>
</div>