Merge pull request #8940 from dataease/pr@dev-v2@fix_jump

fix(仪表板): 修复数据大屏预览模式下跳转当前页面失败 #8840
This commit is contained in:
王嘉豪 2024-04-03 16:33:57 +08:00 committed by GitHub
commit b6473617f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -316,6 +316,9 @@ const onDrillFilters = param => {
const windowsJump = (url, jumpType) => {
try {
window.open(url, jumpType)
if (jumpType === '_self') {
location.reload()
}
} catch (e) {
ElMessage.error(t('visualization.url_check_error') + ':' + url)
}