mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 03:52:59 +08:00
fix(仪表板): 预览页面无法正常打开
This commit is contained in:
parent
14cffed8c8
commit
fda6fae98f
@ -74,7 +74,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
if (permissionStore.getIsAddRouters) {
|
||||
let str = ''
|
||||
if (((from.query.redirect as string) || '?').split('?')[0] === to.path) {
|
||||
str = ((from.query.redirect as string) || '?').split('?')[1]
|
||||
str = ((window.location.hash as string) || '?').split('?').reverse()[0]
|
||||
}
|
||||
if (str) {
|
||||
to.fullPath += '?' + str
|
||||
|
Loading…
Reference in New Issue
Block a user