添加个人中心遮罩,添加自动更改title功能

This commit is contained in:
pixel
2020-12-09 16:30:06 +08:00
parent e102f820c1
commit 9a4667fa46
3 changed files with 40 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
const title = 'GIN-VUE-ADMIN'
export default function getPageTitle(pageTitle) {
if (pageTitle) {
return `${pageTitle} - ${title}`
}
return `${title}`
}