diff --git a/frontend/src/views/chart/components/ChartComponentS2.vue b/frontend/src/views/chart/components/ChartComponentS2.vue index 53c6e7be64..39c91a2c90 100644 --- a/frontend/src/views/chart/components/ChartComponentS2.vue +++ b/frontend/src/views/chart/components/ChartComponentS2.vue @@ -455,7 +455,7 @@ export default { }, pageChange(val) { this.currentPage.pageSize = val - if (this.chart.datasetMode === 0) { + if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) { this.$emit('onPageChange', this.currentPage) } else { this.initData() @@ -465,7 +465,7 @@ export default { pageClick(val) { this.currentPage.page = val - if (this.chart.datasetMode === 0) { + if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) { this.$emit('onPageChange', this.currentPage) } else { this.initData() diff --git a/frontend/src/views/chart/components/table/TableNormal.vue b/frontend/src/views/chart/components/table/TableNormal.vue index 7a5af2efaf..d99837281f 100644 --- a/frontend/src/views/chart/components/table/TableNormal.vue +++ b/frontend/src/views/chart/components/table/TableNormal.vue @@ -444,7 +444,7 @@ export default { pageChange(val) { this.currentPage.pageSize = val - if (this.chart.datasetMode === 0) { + if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) { this.$emit('onPageChange', this.currentPage) } else { this.init() @@ -453,7 +453,7 @@ export default { pageClick(val) { this.currentPage.page = val - if (this.chart.datasetMode === 0) { + if (this.chart.datasetMode === 0 && !NOT_SUPPORT_PAGE_DATASET.includes(this.chart.datasourceType)) { this.$emit('onPageChange', this.currentPage) } else { this.init()