mirror of https://gitee.com/y_project/RuoYi.git
新增表格参数(是否启用分页条无限循环的功能paginationLoop)
parent
e476fe6f5d
commit
0140de4546
File diff suppressed because one or more lines are too long
|
@ -43,6 +43,7 @@ var table = {
|
|||
sortName: "",
|
||||
sortOrder: "asc",
|
||||
pagination: true,
|
||||
paginationLoop: false,
|
||||
pageSize: 10,
|
||||
pageList: [10, 25, 50],
|
||||
toolbar: "toolbar",
|
||||
|
@ -85,6 +86,7 @@ var table = {
|
|||
sortName: options.sortName, // 排序列名称
|
||||
sortOrder: options.sortOrder, // 排序方式 asc 或者 desc
|
||||
pagination: options.pagination, // 是否显示分页(*)
|
||||
paginationLoop: options.paginationLoop, // 是否启用分页条无限循环的功能
|
||||
pageNumber: 1, // 初始化加载第一页,默认第一页
|
||||
pageSize: options.pageSize, // 每页的记录行数(*)
|
||||
pageList: options.pageList, // 可供选择的每页的行数(*)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<script th:src="@{/js/jquery.min.js}"></script>
|
||||
<script th:src="@{/js/bootstrap.min.js}"></script>
|
||||
<!-- bootstrap-table 表格插件 -->
|
||||
<script th:src="@{/ajax/libs/bootstrap-table/bootstrap-table.min.js?v=20200421}"></script>
|
||||
<script th:src="@{/ajax/libs/bootstrap-table/bootstrap-table.min.js?v=20200423}"></script>
|
||||
<script th:src="@{/ajax/libs/bootstrap-table/locale/bootstrap-table-zh-CN.min.js}"></script>
|
||||
<script th:src="@{/ajax/libs/bootstrap-table/extensions/mobile/bootstrap-table-mobile.js}"></script>
|
||||
<script th:src="@{/ajax/libs/bootstrap-table/extensions/toolbar/bootstrap-table-toolbar.min.js}"></script>
|
||||
|
|
Loading…
Reference in New Issue