From ce796b1d0ec49be0cbb76746216ebf47910132ec Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 3 Jan 2025 16:47:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E7=89=87):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E7=BC=96=E8=BE=91=E9=A2=84=E8=A7=88?= =?UTF-8?q?=E6=97=B6=E5=8F=AF=E4=BB=A5=E5=8F=8C=E5=87=BB=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#14357?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 2 +- .../core-frontend/src/views/chart/components/views/index.vue | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index a285edac10..647df6e34f 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -3540,7 +3540,7 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr no_favorites_yet: 'No favorites yet', permission_denied: 'Permission denied', search_keyword: 'Search Keyword', - new_page_preview: 'New Page Preview', + new_page_preview: 'New Page', cancel_favorites: 'Cancel Favorite', open_dataset: 'Open Dataset', administrator_for_authorization: diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index f76367c61b..451dd0f34d 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -8,7 +8,6 @@ import ChartComponentG2Plot from './components/ChartComponentG2Plot.vue' import DeIndicator from '@/custom-component/indicator/DeIndicator.vue' import { useAppearanceStoreWithOut } from '@/store/modules/appearance' import { useAppStoreWithOut } from '@/store/modules/app' -import router from '@/router' import { useEmbedded } from '@/store/modules/embedded' import { XpackComponent } from '@/components/plugin' import { PluginComponent } from '@/components/plugin' @@ -76,7 +75,8 @@ const { curComponent, canvasStyleData, mobileInPc, - inMobile + inMobile, + editMode } = storeToRefs(dvMainStore) const props = defineProps({ @@ -1180,6 +1180,7 @@ const titleTooltipWidth = computed(() => { :disabled="!['canvas', 'canvasDataV'].includes(showPosition) || disabled" :active="active" :show-position="showPosition" + :edit-mode="editMode" :suffixId="suffixId" />