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