mirror of
https://github.com/dataease/dataease.git
synced 2026-06-09 21:27:21 +08:00
fix(仪表板): 仪表板分享链接自动填充密码功能移动端错误
This commit is contained in:
committed by
fit2cloud-chenyw
parent
b1bf9d2d50
commit
d73046e901
@@ -53,7 +53,11 @@ router.beforeEach(async (to, from, next) => {
|
||||
pathname = pathname.replace('oidc/', '')
|
||||
pathname = pathname.substring(0, pathname.length - 1)
|
||||
const prefix = window.origin + pathname
|
||||
window.location.href = prefix + '/mobile.html#' + to.path + linkQuery
|
||||
let toPath = to.fullPath
|
||||
if (toPath.includes('?')) {
|
||||
toPath = to.fullPath.substring(0, to.fullPath.lastIndexOf('?'))
|
||||
}
|
||||
window.location.href = prefix + '/mobile.html#' + toPath + linkQuery
|
||||
} else if (
|
||||
wsCache.get('user.token') ||
|
||||
isDesktop ||
|
||||
|
||||
2
de-xpack
2
de-xpack
Submodule de-xpack updated: b3e8472594...4b929473b7
Reference in New Issue
Block a user