forked from github/dataease
commit
90a5f2a2c8
@ -419,6 +419,10 @@ const jumpClick = param => {
|
||||
return
|
||||
}
|
||||
|
||||
if (isIframe.value) {
|
||||
embeddedStore.clearState()
|
||||
}
|
||||
|
||||
if (iframeSelf) {
|
||||
router.push(parseUrl(url))
|
||||
return
|
||||
@ -438,6 +442,10 @@ const jumpClick = param => {
|
||||
divEmbedded('Iframe')
|
||||
return
|
||||
}
|
||||
|
||||
if (isIframe.value) {
|
||||
embeddedStore.clearState()
|
||||
}
|
||||
windowsJump(url, jumpInfo.jumpType)
|
||||
}
|
||||
} else {
|
||||
|
@ -73,6 +73,7 @@ const loadCanvasDataAsync = async (dvId, dvType) => {
|
||||
ElMessage.error(t('visualization.outer_param_decode_error'))
|
||||
}
|
||||
}
|
||||
console.log('PreviewCanvas', dvId, jumpParam, attachParam)
|
||||
|
||||
initCanvasData(
|
||||
dvId,
|
||||
@ -107,6 +108,7 @@ let p = null
|
||||
const XpackLoaded = () => p(true)
|
||||
onMounted(async () => {
|
||||
await new Promise(r => (p = r))
|
||||
console.log('embeddedStore', embeddedStore, router)
|
||||
const dvId = embeddedStore.dvId || router.currentRoute.value.query.dvId
|
||||
const { dvType, callBackFlag } = router.currentRoute.value.query
|
||||
if (dvId) {
|
||||
|
Loading…
Reference in New Issue
Block a user