Compare commits

...

2 Commits

Author SHA1 Message Date
c0b3aa9d4d Merge pull request '代码更新' (#78) from main into prod
Reviewed-on: #78
2026-03-27 14:28:16 +08:00
hrx
8423395d72 代码更新 2026-03-27 14:26:13 +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');
} }
} }
}, },