Merge pull request #7989 from dataease/pr@dev@feat_page

feat: 定时同步和Excel支持分页
This commit is contained in:
Junjun 2024-02-04 15:38:51 +08:00 committed by GitHub
commit a138a0cd95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -936,7 +936,7 @@ export default {
// table-info // table-info
if (this.view && this.view.customAttr) { if (this.view && this.view.customAttr) {
const attrSize = JSON.parse(this.view.customAttr).size const attrSize = JSON.parse(this.view.customAttr).size
if (this.chart.type === 'table-info' && this.view.datasetMode === 0 && (!attrSize.tablePageMode || attrSize.tablePageMode === 'page')) { if ((this.chart.type === 'table-info' && (!attrSize.tablePageMode || attrSize.tablePageMode === 'page')) {
requestInfo.goPage = this.currentPage.page requestInfo.goPage = this.currentPage.page
requestInfo.pageSize = this.currentPage.pageSize === parseInt(attrSize.tablePageSize) ? this.currentPage.pageSize : parseInt(attrSize.tablePageSize) requestInfo.pageSize = this.currentPage.pageSize === parseInt(attrSize.tablePageSize) ? this.currentPage.pageSize : parseInt(attrSize.tablePageSize)
} }