Compare commits

..

2 Commits

Author SHA1 Message Date
81b6555a0a Merge pull request '7.23下午更新' (#147) from main into prod
Reviewed-on: #147
2026-07-24 09:51:56 +08:00
hrx
69b810121d 7.23下午更新 2026-07-23 17:37:44 +08:00

View File

@ -81,7 +81,7 @@ router.beforeEach(async (to, from, next) => {
const hostname = window.location.hostname || '';
// 特殊处理:在 ncmatch.cn 域名下访问 /homePage/index 时重定向
if (hostname.includes('ncmatch.cn') && to.path === '/homePage/index') {
if (hostname.includes('ncmatch.cn'||'zgcopc.opencomputing.cn') && to.path === '/homePage/index') {
console.log("在 ncmatch.cn 域名下访问 /homePage/index重定向到 /ncmatchHome/index");
next('/ncmatchHome/index');
NProgress.done();