chore: format site title #268

This commit is contained in:
vben 2021-02-13 09:18:50 +08:00
parent 589409305f
commit 1f96eaef99

View File

@ -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);
}
}