代码更新 #78

Merged
charles merged 1 commits from main into prod 2026-03-27 14:28:17 +08:00

View File

@ -253,7 +253,7 @@ export default Vue.extend({
}, },
// ncmatch.cn // ncmatch.cn
isNcmatchDomain() { isNcmatchDomain() {
return window.location.hostname.includes('ncmatch.cn'); return window.location.hostname.includes('ncmatch');
}, },
// //
isActiveHome() { isActiveHome() {
@ -667,10 +667,12 @@ export default Vue.extend({
// - // -
goHome() { goHome() {
console.log('当前域名:', this.getHomePath); console.log('当前域名:',window.location.hostname);
if (this.isNcmatchDomain) { if (this.isNcmatchDomain) {
this.$router.push(this.getHomePath); this.$router.push('/ncmatchHome/index');
} else {
this.$router.push('/homePage/index');
} }
} }
}, },