forked from github/dataease
Merge pull request #11808 from dataease/pr@dev-v2_st
fix(嵌入式): iframe嵌入-视图预览失败
This commit is contained in:
commit
5231c7f516
@ -13,7 +13,7 @@ import { XpackComponent } from '@/components/plugin'
|
||||
const { wsCache } = useCache()
|
||||
const interactiveStore = interactiveStoreWithOut()
|
||||
const embeddedStore = useEmbedded()
|
||||
const chartId = inject('embeddedParams') as string
|
||||
const injectChartId = inject('embeddedParams') as string
|
||||
const config = ref()
|
||||
const viewInfo = ref()
|
||||
const userViewEnlargeRef = ref()
|
||||
@ -74,6 +74,7 @@ onBeforeMount(async () => {
|
||||
ElMessage.error(t('visualization.outer_param_decode_error'))
|
||||
}
|
||||
}
|
||||
const chartId = injectChartId || embeddedStore.chartId
|
||||
|
||||
initCanvasData(
|
||||
embeddedStore.dvId,
|
||||
|
Loading…
Reference in New Issue
Block a user