diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index eeab0d143e..079da28a93 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -3396,6 +3396,7 @@ Scatter chart (bubble) chart: {a} (series name), {b} (data name), {c} (value arr empty_desc: 'Please enter information on the left and save' }, setting_basic: { + default_open_tips: 'Interface for creating and editing resources like dashboards and screen', third_platform_settings: 'Third-party platform settings', autoCreateUser: 'Third party automatically creates users', dsIntervalTime: 'Datasource detection time interval', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index e2a4943ef4..ef75738690 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -3309,6 +3309,7 @@ export default { empty_desc: '請在左側輸入訊息然後儲存' }, setting_basic: { + default_open_tips: '涉及儀表板、數據大屏等資源的新建與編輯界面', third_platform_settings: '第三方平台設置', autoCreateUser: '第三方自動建立使用者', dsIntervalTime: '資料來源偵測時間間隔', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index a22034ceaf..7d18773e30 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -3312,6 +3312,7 @@ export default { empty_desc: '请在左侧输入信息然后保存' }, setting_basic: { + default_open_tips: '涉及仪表板、数据大屏等资源的新建与编辑界面', third_platform_settings: '第三方平台设置', autoCreateUser: '第三方自动创建用户', dsIntervalTime: '数据源检测时间间隔', 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 51b2f01312..190a777e77 100644 --- a/core/core-frontend/src/store/modules/data-visualization/snapshot.ts +++ b/core/core-frontend/src/store/modules/data-visualization/snapshot.ts @@ -48,6 +48,17 @@ export const snapshotStore = defineStore('snapshot', { } }, actions: { + initSnapShot() { + this.styleChangeTimes = -1 + this.cacheStyleChangeTimes = 0 + this.snapshotCacheTimes = 0 + this.cacheViewIdInfo = { + snapshotCacheViewCalc: [], + snapshotCacheViewRender: [] + } + this.snapshotData = [] + this.snapshotIndex = -1 + }, //定时检查变动次数 存在变动次数则进行镜像处理 snapshotCatchToStore() { if (this.snapshotCacheTimes) { diff --git a/core/core-frontend/src/views/dashboard/index.vue b/core/core-frontend/src/views/dashboard/index.vue index a8c9266774..db148aada2 100644 --- a/core/core-frontend/src/views/dashboard/index.vue +++ b/core/core-frontend/src/views/dashboard/index.vue @@ -169,6 +169,7 @@ const initLocalCanvasData = () => { }) } onMounted(async () => { + snapshotStore.initSnapShot() if (window.location.hash.includes('#/dashboard')) { newWindowFromDiv.value = true } diff --git a/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue b/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue index 269dddb142..cd242959ac 100644 --- a/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue +++ b/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue @@ -67,6 +67,10 @@ const pvpOptions = [ { value: '4', label: t('commons.date.one_month') } ] const tooltips = [ + { + key: 'setting_basic.defaultOpen', + val: t('setting_basic.default_open_tips') + }, { key: 'setting_basic.frontTimeOut', val: t('system.to_take_effect')