Merge pull request #4593 from dataease/pr@dev@fix_table

fix(视图): 修复明细表查询分页失效的问题
This commit is contained in:
Junjun 2023-02-21 12:01:46 +08:00 committed by GitHub
commit a688e9dda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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