Compare commits

..

No commits in common. "143c52fddebfcee6d17e5c8ae894bc847762afc3" and "4039d4242819c22ec0092a95e005f6e19b128555" have entirely different histories.

View File

@ -668,19 +668,10 @@ export default Vue.extend({
} }
}, },
// - // - 使 getHomePath
goHome() { goHome() {
console.log('=== goHome 方法开始 ==='); const path = this.homePath || getHomePath();
console.log('当前完整URL:', window.location.href); this.$router.push(path);
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');
}
} }
}, },
}) })