diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index a30f2e6fab..8aba579c51 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -200,7 +200,7 @@ const setupPage = (chart: ChartObj, resetPageInfo?: boolean) => { } const pageInfo = state.pageInfo pageInfo.pageSize = customAttr.basicStyle.tablePageSize ?? 20 - if (state.totalItems > state.pageInfo.pageSize || state.pageStyle !== 'general') { + if (state.totalItems > state.pageInfo.pageSize || state.pageStyle === 'general') { pageInfo.total = state.totalItems state.showPage = true } else {