import defaultSettings from '@/settings'

const title = defaultSettings.title || '智慧酒店管理平台'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
