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