main #92
@ -670,11 +670,7 @@ export default Vue.extend({
|
||||
|
||||
// 首页跳转方法 - 根据域名判断跳转到不同的首页
|
||||
goHome() {
|
||||
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');
|
||||
console.log('当前域名:', window.location.href);
|
||||
|
||||
if (this.isNcmatchDomain) {
|
||||
this.$router.push('/ncmatchHome/index');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user