可信代码库-生产环境token覆盖问题解决

This commit is contained in:
付民康
2025-07-17 11:02:19 +08:00
parent b8743716b5
commit 3a9fbbf5cc
24 changed files with 9493 additions and 82 deletions

View File

@@ -76,7 +76,9 @@ const goToGovernCenter = async () => {
const res = await fetchCheckAuthenticate({});
if(res.data.code!==200) return
if (res.data.data) {
window.location.href = VITE_GOVERNANCE_HOST;
// 直接使用 window.open
window.open(VITE_GOVERNANCE_HOST, '_blank');
// window.location.href = VITE_GOVERNANCE_HOST;
} else {
Message.warning('请联系平台管理员,开通账号权限');
}