mirror of
https://github.com/dataease/dataease.git
synced 2025-02-27 22:15:43 +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}`
|
||
|
}
|