main #28

Merged
charles merged 2 commits from main into prod 2025-09-09 10:18:36 +08:00
Showing only changes of commit c0671fb7e6 - Show all commits

View File

@ -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`
}