Signed-off-by: 南通一次元科技有限公司 <guwangtu@icimeta.com>
This commit is contained in:
1 parent
b91954df4a
commit
4b5b119c18
23 files changed
+526
-53
No files matched your search
+2
-1
@@ -107,7 +107,8 @@ async function switchTab(tab, el){
|
||||
|
||||
|
||||
function openAuditSystem(){
|
||||
const url = `${location.protocol}//${location.hostname}:8000/`;
|
||||
const h = location.hostname;
|
||||
const url = /(^|\.)sj\.icimeta\.com$/.test(h) ? 'https://audit.sj.icimeta.com/' : `${location.protocol}//${h}:8000/`;
|
||||
try {
|
||||
if (window.self !== window.top) { window.top.location.hash = '#/audit'; return; }
|
||||
} catch(e) {}
|
||||
|
||||
Reference in new issue
Block a user