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

@@ -107,7 +107,7 @@ onMounted(() => {
/** mobile暂定全部重定向为首页 */
addEventListener('notice', toNotice);
window.addEventListener('message', (event) => {
let VITE_HOST = window.location.origin + '/openRepoPortalV2';
let VITE_HOST = window.location.origin + '/tcode';
// if (event.origin === (import.meta as any).env.VITE_HOST) {
if (event.origin === VITE_HOST) {
if (event.data.type === 'success') {