Merge pull request '代码更新' (#78) from main into prod

Reviewed-on: #78
This commit is contained in:
charles 2026-03-27 14:28:16 +08:00
commit c0b3aa9d4d

View File

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