态势感知平台-增加武汉市开源建设生态页面展示

This commit is contained in:
fmk1023
2026-01-12 09:50:44 +08:00
parent 533e20b2f3
commit 0d97d2075a
32 changed files with 1319 additions and 1973 deletions

View File

@@ -96,7 +96,7 @@ const emitEvents = (type: 'success' | 'fail' = 'success', error_info?: string, p
// 登录后回到登录前页面 hack一下automgit跳转
if (route.query?.installation_id) {
// window.location.href = `${(import.meta as any).env.VITE_HOST}${path || '/'}`;
window.location.href = `${window.location.origin}/openRepoPortal${path || '/'}`;
window.location.href = `${window.location.origin}/SAP${path || '/'}`;
} else {
url && localStorage.removeItem('loginReturnUrl');
url ? window.location.href = url : router.replace('/');
@@ -121,7 +121,7 @@ const emitEvents = (type: 'success' | 'fail' = 'success', error_info?: string, p
message: error_info || type === 'success' ? '' : '你已取消授权',
path
// }, (import.meta as any).env.VITE_HOST);
}, window.location.origin + '/openRepoPortal');
}, window.location.origin + '/SAP');
window?.close();
}
}