From 7cae540c880172281f4c68dc201e6d37e59e766f Mon Sep 17 00:00:00 2001 From: XieYongHong <18010623010@163.com> Date: Tue, 24 Oct 2023 15:46:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96iframe=E4=B8=ADhash?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iframe/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/iframe/index.vue b/src/views/iframe/index.vue index 71c8e61c..677825d7 100644 --- a/src/views/iframe/index.vue +++ b/src/views/iframe/index.vue @@ -21,7 +21,7 @@ const handle = async (appId: string, url: string) => { let menuUrl: any = url; if (res.status === 200) { if (res.result.page.routeType === 'hash') { - menuUrl = `/#${url}`; + menuUrl = `#${url}`; } if (res.result.provider === 'internal-standalone') { const urlStandalone = `${res.result.page.baseUrl}/api/application/sso/${appId}/login?redirect=${menuUrl}?layout=false`;