forked from github/dataease
fix(仪表板): 修复明细表翻页后跳转获取的参数不准确问题
This commit is contained in:
parent
2e4750a0ef
commit
aae72c991a
@ -239,6 +239,9 @@ export default {
|
||||
if (this.chart.type === 'table-pivot') {
|
||||
rowData = { ...meta.rowQuery, ...meta.colQuery }
|
||||
rowData[meta.valueField] = meta.fieldValue
|
||||
} else if (this.showPage) {
|
||||
const rowIndex = (this.currentPage.page - 1) * this.currentPage.pageSize + meta.rowIndex
|
||||
rowData = this.chart.data.tableRow[rowIndex]
|
||||
} else {
|
||||
rowData = this.chart.data.tableRow[meta.rowIndex]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user