diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index c5e97dbb87..885160abc0 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -337,6 +337,7 @@ const embeddedStore = useEmbedded() const backHandler = (url: string) => { if (isEmbedded.value) { + wsCache.set(`db-info-id`, dvInfo.value.id) embeddedStore.clearState() useEmitt().emitter.emit('changeCurrentComponent', 'DashboardPanel') return diff --git a/core/core-frontend/src/components/data-visualization/DvToolbar.vue b/core/core-frontend/src/components/data-visualization/DvToolbar.vue index 1a9c69544e..42a3c81967 100644 --- a/core/core-frontend/src/components/data-visualization/DvToolbar.vue +++ b/core/core-frontend/src/components/data-visualization/DvToolbar.vue @@ -249,6 +249,7 @@ const isEmbedded = computed(() => appStore.getIsDataEaseBi || appStore.getIsIfra const backHandler = (url: string) => { if (isEmbedded.value) { + wsCache.set(`dv-info-id`, dvInfo.value.id) embeddedStore.clearState() useEmitt().emitter.emit('changeCurrentComponent', 'ScreenPanel') return