From 6f05b8ddee3747a73a4e0ed40526114844575e5c Mon Sep 17 00:00:00 2001
From: wangjiahao <1522128093@qq.com>
Date: Thu, 19 Dec 2024 15:40:04 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=E6=81=A2=E5=A4=8D=E7=BC=93=E5=AD=98=E6=97=B6=EF=BC=8C=E5=8F=AF?=
=?UTF-8?q?=E8=83=BD=E4=BD=8D=E7=BD=AE=E9=94=99=E4=B9=B1=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
core/core-frontend/src/components/visualization/LinkJumpSet.vue | 2 +-
core/core-frontend/src/locales/en.ts | 1 +
core/core-frontend/src/locales/tw.ts | 1 +
core/core-frontend/src/locales/zh-CN.ts | 1 +
.../src/store/modules/data-visualization/snapshot.ts | 1 +
5 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/core/core-frontend/src/components/visualization/LinkJumpSet.vue b/core/core-frontend/src/components/visualization/LinkJumpSet.vue
index 1d95c41db1..5088357a80 100644
--- a/core/core-frontend/src/components/visualization/LinkJumpSet.vue
+++ b/core/core-frontend/src/components/visualization/LinkJumpSet.vue
@@ -94,7 +94,7 @@
v-model="state.linkJumpInfo.linkType"
>
{{ t('visualization.link_outer') }}
- {{ resourceType }}
+ {{ t('visualization.dashboard_dataV') }}
{{ t('visualization.link_outer') }}
diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts
index 0c51463a76..e2423849e6 100644
--- a/core/core-frontend/src/locales/en.ts
+++ b/core/core-frontend/src/locales/en.ts
@@ -2765,6 +2765,7 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr
text_decoration: 'underline',
select_target_resource: 'Please select the target resource',
target_dashboard_dataV: 'Target Dashboard\\Screen',
+ dashboard_dataV: 'Dashboard\\Data Screen',
effective_during_link: 'Public link active',
condition_style_set: 'Condition Style Settings',
cell_merge_tips:
diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts
index 6d918f81ed..b822aefa4c 100644
--- a/core/core-frontend/src/locales/tw.ts
+++ b/core/core-frontend/src/locales/tw.ts
@@ -2699,6 +2699,7 @@ export default {
text_decoration: '下劃線',
select_target_resource: '請選擇目標資源',
target_dashboard_dataV: '目標儀表板\\數據大屏',
+ dashboard_dataV: '儀表板\\數據大屏',
condition_style_set: '條件樣式設定',
cell_merge_tips: '合併單元格後,行列凍結、自動換行將失效。',
image: '圖片',
diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts
index d73bb383fb..94cac972bb 100644
--- a/core/core-frontend/src/locales/zh-CN.ts
+++ b/core/core-frontend/src/locales/zh-CN.ts
@@ -2701,6 +2701,7 @@ export default {
text_decoration: '下滑线',
select_target_resource: '请选择目标资源',
target_dashboard_dataV: '目标仪表板\\数据大屏',
+ dashboard_dataV: '仪表板\\数据大屏',
effective_during_link: '公共链接生效',
condition_style_set: '条件样式设置',
cell_merge_tips: '合并单元格后,行列冻结、自动换行会失效。',
diff --git a/core/core-frontend/src/store/modules/data-visualization/snapshot.ts b/core/core-frontend/src/store/modules/data-visualization/snapshot.ts
index 97dbe4245f..e984175f2d 100644
--- a/core/core-frontend/src/store/modules/data-visualization/snapshot.ts
+++ b/core/core-frontend/src/store/modules/data-visualization/snapshot.ts
@@ -115,6 +115,7 @@ export const snapshotStore = defineStore('snapshot', {
}
},
snapshotPublish(snapshotInfo) {
+ dvMainStore.updateCurDvInfo(snapshotInfo.dvInfo)
dvMainStore.setComponentData(snapshotInfo.componentData)
dvMainStore.setCanvasStyle(snapshotInfo.canvasStyleData)
dvMainStore.setCanvasViewInfo(snapshotInfo.canvasViewInfo)