diff --git a/core/core-frontend/src/components/dashboard/DbToolbar.vue b/core/core-frontend/src/components/dashboard/DbToolbar.vue index bb78ca466b..cf9ae3a167 100644 --- a/core/core-frontend/src/components/dashboard/DbToolbar.vue +++ b/core/core-frontend/src/components/dashboard/DbToolbar.vue @@ -327,6 +327,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 60eeb5d387..b106d54f64 100644 --- a/core/core-frontend/src/components/data-visualization/DvToolbar.vue +++ b/core/core-frontend/src/components/data-visualization/DvToolbar.vue @@ -250,6 +250,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