固定网页标签用于网站审核
This commit is contained in:
parent
c3d6beb8d7
commit
c0671fb7e6
@ -3,9 +3,18 @@ import defaultSettings from '@/settings'
|
||||
const title = defaultSettings.title || 'Kboss'
|
||||
|
||||
export default function getPageTitle(pageTitle) {
|
||||
if (pageTitle) {
|
||||
return `${pageTitle}`
|
||||
}
|
||||
// return `${title}`
|
||||
return `首页`
|
||||
// if (pageTitle) {
|
||||
// return `${pageTitle}`
|
||||
// }
|
||||
// // return `${title}`
|
||||
// return `首页`
|
||||
|
||||
const domainName = window.location.href
|
||||
if (domainName.indexOf('opencomputing') > -1) {
|
||||
return `开元云(北京)科技有限公司`
|
||||
}
|
||||
if (domainName.indexOf('ncmatch') > -1) {
|
||||
return `开元数智(北京)科技有限公司`
|
||||
}
|
||||
return `opencomputing`
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user