Compare commits

..

No commits in common. "b2d76b3779c25b8ab394ff4ac959e40f763d6e8d" and "6deaa0e895a256bbe2a325e8442609ed9cc50bad" have entirely different histories.

View File

@ -253,12 +253,12 @@ export default Vue.extend({
},
// ncmatch.cn
isNcmatchDomain() {
return window.location.hostname.includes('ncmatch.cn');
return window.location.hostname.includes('www.ncmatch.cn');
},
//
isActiveHome() {
if (this.isNcmatchDomain) {
return this.$route.path.includes('/ncmatchHome/index');
return this.$route.path.includes('/ncmatchHomeindex');
} else {
return this.$route.path.includes('/homePage/index');
}