Compare commits

...

2 Commits

Author SHA1 Message Date
b2d76b3779 Merge pull request '代码更新' (#74) from main into prod
Reviewed-on: #74
2026-03-27 11:41:42 +08:00
hrx
f00852c5e7 代码更新 2026-03-27 11:40:33 +08:00

View File

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