forked from github/dataease
Merge pull request #7933 from dataease/pr@dev@fix_pb_link_jump
fix: 公共链接以新开页面方式跳转后返回上一级无效
This commit is contained in:
commit
7fcc6294d3
@ -184,7 +184,10 @@ export default {
|
|||||||
window.location.reload()
|
window.location.reload()
|
||||||
return false
|
return false
|
||||||
} else {
|
} else {
|
||||||
this.$router.back(-1)
|
const parentUrl = localStorage.getItem('beforeJumpUrl')
|
||||||
|
localStorage.removeItem('beforeJumpUrl')
|
||||||
|
window.location.href = parentUrl
|
||||||
|
window.location.reload()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
exportPDF() {
|
exportPDF() {
|
||||||
|
Loading…
Reference in New Issue
Block a user