Compare commits
No commits in common. "81b6555a0a59a36ea814203ef62ba8fa9fa77c46" and "568fcb06a58fc764c0375c0a8caadb69d722a58a" have entirely different histories.
81b6555a0a
...
568fcb06a5
@ -81,7 +81,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
const hostname = window.location.hostname || '';
|
||||
|
||||
// 特殊处理:在 ncmatch.cn 域名下访问 /homePage/index 时重定向
|
||||
if (hostname.includes('ncmatch.cn'||'zgcopc.opencomputing.cn') && to.path === '/homePage/index') {
|
||||
if (hostname.includes('ncmatch.cn') && to.path === '/homePage/index') {
|
||||
console.log("在 ncmatch.cn 域名下访问 /homePage/index,重定向到 /ncmatchHome/index");
|
||||
next('/ncmatchHome/index');
|
||||
NProgress.done();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user