Merge pull request '代码更新' (#73) from main into prod

Reviewed-on: #73
This commit is contained in:
charles 2026-03-27 10:50:53 +08:00
commit 6deaa0e895
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ export default function getPageTitle(pageTitle) {
return `开元云(北京)科技有限公司` return `开元云(北京)科技有限公司`
} }
if (domainName.indexOf('ncmatch') > -1) { if (domainName.indexOf('ncmatch') > -1) {
return `开元云(北京)科技有限公司` return `NCMatch`
} }
return `opencomputing` return `opencomputing`
} }

View File

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