fix: 优化iframe中hash地址

This commit is contained in:
XieYongHong 2023-10-24 15:46:48 +08:00
parent d255a0bc78
commit 7cae540c88
1 changed files with 1 additions and 1 deletions

View File

@ -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`;