diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 9fd766a019..728f7469d4 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -1108,4 +1108,4 @@ export const CHART_FONT_LETTER_SPACE = [ { name: '10px', value: '10' } ] -export const NOT_SUPPORT_PAGE_DATASET = ['kylin', 'sqlServer', 'es', 'presto'] +export const NOT_SUPPORT_PAGE_DATASET = ['kylin', 'sqlServer', 'es', 'presto', 'ds_doris', 'StarRocks'] 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()