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 af33a59bb4..ca314cf64c 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 @@ -30,6 +30,7 @@ import { useEmitt } from '@/hooks/web/useEmitt' import { isDashboard, trackBarStyleCheck } from '@/utils/canvasUtils' import { type SpreadSheet } from '@antv/s2' import { parseJson } from '../../js/util' +import { useI18n } from '@/hooks/web/useI18n' const dvMainStore = dvMainStoreWithOut() const { @@ -41,6 +42,7 @@ const { inMobile } = storeToRefs(dvMainStore) const { emitter } = useEmitt() +const { t } = useI18n() const props = defineProps({ element: { @@ -724,7 +726,7 @@ const tablePageClass = computed(() => { @keydown.stop @keyup.stop > -
共{{ state.pageInfo.total }}条
+
{{ t('chart.total') }} {{ state.pageInfo.total }} {{ t('chart.items') }}