Browse Source

chore: format site title #268

vben 4 years ago
parent
commit
1f96eaef99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/index.ts

+ 1 - 1
src/utils/index.ts

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