feat: add title

This commit is contained in:
JaguarJack
2023-03-10 17:53:57 +08:00
parent 3ca5de717c
commit b94680c787
3 changed files with 4 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ export function isUndefined(value: any): boolean {
* @param title
*/
export function setPageTitle(title: string) {
document.title = title
document.title = title + '-' + env('VITE_APP_NAME')
}
/**