From c40436e794ac72ba64560090cb8b7d95a57ac8cf Mon Sep 17 00:00:00 2001 From: poiuylkkk <54501966+poiuylkkk@users.noreply.github.com> Date: Thu, 29 Jan 2026 14:36:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(ChartComponentS2):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96=E6=94=AF=E6=8C=81=EF=BC=8C=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=80=BB=E6=9D=A1=E7=9B=AE=E6=96=87=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/views/components/ChartComponentS2.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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') }}