Compare commits

..

No commits in common. "c0b3aa9d4d9c0b9b74e6d81bc34a94e9317bf2f4" and "a1694102e55ebed2c4d69948921f5b8481edb5a7" have entirely different histories.

View File

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