Tcode平台改造升级-项目名称openRepoPortalV2改为tcode

This commit is contained in:
fmk1023
2025-12-05 17:12:52 +08:00
parent 1e2d8f775d
commit af7578ec2a
14 changed files with 19 additions and 19 deletions

View File

@@ -78,7 +78,7 @@ export const injectRouter = (router) => {
// 上报ref设置
// const BASE_URL = (import.meta as any).env.VITE_HOST;
const BASE_URL = window.location.origin + '/openRepoPortalV2';
const BASE_URL = window.location.origin + '/tcode';
const beforeRef = sessionStorage.getItem('ref');
const ref = beforeRef || document.referrer || '';
if (!fromHomeWeb.includes(to.name)) {