'添加gin-vue-admin的web配置文件,具体文件请看core/config文件'
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
const title = 'GIN-VUE-ADMIN'
|
||||
|
||||
import config from '@/core/config'
|
||||
export default function getPageTitle(pageTitle) {
|
||||
if (pageTitle) {
|
||||
return `${pageTitle} - ${title}`
|
||||
return `${pageTitle} - ${config.appName}`
|
||||
}
|
||||
return `${title}`
|
||||
return `${config.appName}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user