SAP打包配置修改
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user