mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
11 lines
235 B
JavaScript
11 lines
235 B
JavaScript
import defaultSettings from '@/settings'
|
|
|
|
const title = defaultSettings.title || 'Vue Admin Template'
|
|
|
|
export default function getPageTitle(pageTitle) {
|
|
if (pageTitle) {
|
|
return `${pageTitle} - ${title}`
|
|
}
|
|
return `${title}`
|
|
}
|