|
@@ -46,7 +46,7 @@ export const useAppStore = defineStore({
|
|
},
|
|
},
|
|
getTitle(): string {
|
|
getTitle(): string {
|
|
const { VITE_GLOB_APP_TITLE } = getAppEnvConfig();
|
|
const { VITE_GLOB_APP_TITLE } = getAppEnvConfig();
|
|
- return VITE_GLOB_APP_TITLE || this.title;
|
|
|
|
|
|
+ return this.title || VITE_GLOB_APP_TITLE;
|
|
},
|
|
},
|
|
getDarkMode(): 'light' | 'dark' | string {
|
|
getDarkMode(): 'light' | 'dark' | string {
|
|
return this.darkMode || localStorage.getItem(APP_DARK_MODE_KEY_) || darkMode;
|
|
return this.darkMode || localStorage.getItem(APP_DARK_MODE_KEY_) || darkMode;
|