import defaultSettings from '@/settings'

const title = defaultSettings.title || '采销平台结算系统'

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