Commit d5a0e74b authored by Cai Wei's avatar Cai Wei

feat(*): 配置修改

parent dfc6d194
...@@ -19,8 +19,16 @@ const router = useRouter(); ...@@ -19,8 +19,16 @@ const router = useRouter();
const iframeRef = ref(null); const iframeRef = ref(null);
// const url = `http://172.16.20.227/admin/ecoTom/#/robotNew` // const url = `http://172.16.20.227/admin/ecoTom/#/robotNew`
const url = `https://screen.bmetech.com/steelmakingScreen/#/robotNew` // const url = `https://screen.bmetech.com/steelmakingScreen/#/robotNew`
const url = computed(() => {
const currentDomain = window.location.hostname;
if (currentDomain.includes('screen.bmetech.com')) {
return `https://screen.bmetech.com/steelmakingScreen/#/robotNew`;
}
// Default URL or alternative URL for other domains
return `http://172.16.20.227/admin/ecoTom/#/robotNew`;
});
// 处理iframe消息 // 处理iframe消息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment