代码更新

This commit is contained in:
hrx 2026-03-27 14:26:13 +08:00
parent 08d3b98315
commit 8423395d72

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');
}
}
},