mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-02-03 10:28:41 +08:00
chore: format site title #268
This commit is contained in:
parent
589409305f
commit
1f96eaef99
@ -124,7 +124,7 @@ function setDocumentTitle(title: string) {
|
||||
|
||||
export function setTitle(title: string, appTitle?: string) {
|
||||
if (title) {
|
||||
const _title = title ? ` ${title}-${appTitle} ` : `${appTitle}`;
|
||||
const _title = title ? ` ${title} - ${appTitle} ` : `${appTitle}`;
|
||||
setDocumentTitle(_title);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user