Merge pull request #7933 from dataease/pr@dev@fix_pb_link_jump

fix: 公共链接以新开页面方式跳转后返回上一级无效
This commit is contained in:
fit2cloud-chenyw
2024-01-31 12:02:28 +08:00
committed by GitHub

View File

@@ -184,7 +184,10 @@ export default {
window.location.reload()
return false
} else {
this.$router.back(-1)
const parentUrl = localStorage.getItem('beforeJumpUrl')
localStorage.removeItem('beforeJumpUrl')
window.location.href = parentUrl
window.location.reload()
}
},
exportPDF() {