diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index 781d808..9a295fb 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -328,6 +328,8 @@ export const useAppStore = defineStore('app', { valueLight: 'light' }) isDark.value = this.getIsDark + const newTitle = import.meta.env.VITE_APP_TITLE + newTitle !== this.getTitle && this.setTitle(newTitle) } }, persist: true