File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ export default {
172
172
// 这里用于判断接口是否有返回 r.totalCount 且 this.showPagination = true 且 pageNo 和 pageSize 存在 且 totalCount 小于等于 pageNo * pageSize 的大小
173
173
// 当情况满足时,表示数据不满足分页大小,关闭 table 分页功能
174
174
try {
175
- if ( ( [ 'auto' , true ] . includes ( this . showPagination ) && r . totalCount <= ( r . pageNo * pagination . pageSize ) ) ) {
175
+ if ( ( [ 'auto' , true ] . includes ( this . showPagination ) && r . totalCount <= ( r . pageNo * this . localPagination . pageSize ) ) ) {
176
176
this . localPagination . hideOnSinglePage = true
177
177
}
178
178
} catch ( e ) {
Original file line number Diff line number Diff line change 84
84
:data =" loadData"
85
85
:alert =" options.alert"
86
86
:rowSelection =" options.rowSelection"
87
- :show-pagination = " false "
87
+ showPagination = " auto "
88
88
>
89
89
<span slot =" serial" slot-scope =" text, record, index" >
90
90
{{ index + 1 }}
You can’t perform that action at this time.
0 commit comments