SAP打包配置修改

This commit is contained in:
fmk1023
2025-12-25 14:54:23 +08:00
parent b80ff647c9
commit 29fa1a2199
14 changed files with 18 additions and 18 deletions

View File

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