import defaultSettings from '@/settings'

const title = defaultSettings.title || '大卫博士app管理后台'

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