代码更新

This commit is contained in:
hrx 2026-03-27 11:40:33 +08:00
parent d3c07a6f6e
commit f00852c5e7

View File

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