固定网页标签用于网站审核

This commit is contained in:
ping 2025-09-09 10:14:40 +08:00
parent c3d6beb8d7
commit c0671fb7e6

View File

@ -3,9 +3,18 @@ import defaultSettings from '@/settings'
const title = defaultSettings.title || 'Kboss' const title = defaultSettings.title || 'Kboss'
export default function getPageTitle(pageTitle) { export default function getPageTitle(pageTitle) {
if (pageTitle) { // if (pageTitle) {
return `${pageTitle}` // return `${pageTitle}`
} // }
// return `${title}` // // return `${title}`
return `首页` // return `首页`
const domainName = window.location.href
if (domainName.indexOf('opencomputing') > -1) {
return `开元云(北京)科技有限公司`
}
if (domainName.indexOf('ncmatch') > -1) {
return `开元数智(北京)科技有限公司`
}
return `opencomputing`
} }