Compare commits

...

2 Commits

Author SHA1 Message Date
hrx
143c52fdde 代码更新 2026-03-30 14:46:14 +08:00
hrx
480e8649ec 代码更新 2026-03-30 14:42:51 +08:00

View File

@ -668,10 +668,19 @@ export default Vue.extend({
}
},
// - 使 getHomePath
// -
goHome() {
const path = this.homePath || getHomePath();
this.$router.push(path);
console.log('=== goHome 方法开始 ===');
console.log('当前完整URL:', window.location.href);
console.log('当前hostname:', window.location.hostname);
console.log('isNcmatchDomain判断结果:', this.isNcmatchDomain);
console.log('准备跳转的路径:', this.isNcmatchDomain ? '/ncmatchHome/index' : '/homePage/index');
if (this.isNcmatchDomain) {
this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
}
}
},
})