fix(仪表板、数据大屏): 修复预览退出重新登录看不到预览界面问题

This commit is contained in:
wangjiahao 2024-11-13 14:17:25 +08:00
parent ca4b2e7de3
commit ca0eac3f62
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ const previewOuter = () => {
return
}
canvasSave(() => {
const url = '#/preview?ignoreParams=true&dvId=' + dvInfo.value.id
const url = '#/preview?dvId=' + dvInfo.value.id + '&ignoreParams=true'
const newWindow = window.open(url, '_blank')
initOpenHandler(newWindow)
})

View File

@ -35,7 +35,7 @@ const preview = () => {
baseUrl = baseUrl.replace('oidcbi/', '')
baseUrl = baseUrl.replace('casbi/', '')
}
const url = baseUrl + '#/preview?&ignoreParams=true&dvId=' + dvInfo.value.id
const url = baseUrl + '#/preview?dvId=' + dvInfo.value.id + '&ignoreParams=true'
const newWindow = window.open(url, '_blank')
initOpenHandler(newWindow)
}