From d73046e9010b9cf267db1224e1a6c416c7f3dae6 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 29 Apr 2025 19:41:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=E5=88=86=E4=BA=AB=E9=93=BE=E6=8E=A5=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=A1=AB=E5=85=85=E5=AF=86=E7=A0=81=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/permission.ts | 6 +++++- de-xpack | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/permission.ts b/core/core-frontend/src/permission.ts index 843e52e8bc..19dd60068c 100644 --- a/core/core-frontend/src/permission.ts +++ b/core/core-frontend/src/permission.ts @@ -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 || diff --git a/de-xpack b/de-xpack index b3e8472594..4b929473b7 160000 --- a/de-xpack +++ b/de-xpack @@ -1 +1 @@ -Subproject commit b3e84725948a19b175d1f585985c4eaf3a4e745d +Subproject commit 4b929473b7db5d0dde1e343531b20347505da7c8