Compare commits
2 Commits
3761d9fac3
...
6deaa0e895
| Author | SHA1 | Date | |
|---|---|---|---|
| 6deaa0e895 | |||
| d3c07a6f6e |
@ -14,7 +14,7 @@ export default function getPageTitle(pageTitle) {
|
||||
return `开元云(北京)科技有限公司`
|
||||
}
|
||||
if (domainName.indexOf('ncmatch') > -1) {
|
||||
return `开元云(北京)科技有限公司`
|
||||
return `NCMatch`
|
||||
}
|
||||
return `opencomputing`
|
||||
}
|
||||
|
||||
@ -253,12 +253,12 @@ export default Vue.extend({
|
||||
},
|
||||
// 判断当前是否为ncmatch.cn域名
|
||||
isNcmatchDomain() {
|
||||
return window.location.hostname.includes('www. atch.cn');
|
||||
return window.location.hostname.includes('www.ncmatch.cn');
|
||||
},
|
||||
// 首页激活状态计算
|
||||
isActiveHome() {
|
||||
if (this.isNcmatchDomain) {
|
||||
return this.$route.path.includes('/ncmatchHo index');
|
||||
return this.$route.path.includes('/ncmatchHomeindex');
|
||||
} else {
|
||||
return this.$route.path.includes('/homePage/index');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user