From 319cdd182065021b6f994e6af77accd0ca099326 Mon Sep 17 00:00:00 2001 From: xzz2021 Date: Thu, 13 Feb 2025 09:44:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Denv=E6=9B=B4=E6=96=B0t?= =?UTF-8?q?itle=E5=90=8E,store=E4=B8=8D=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/app.ts | 2 ++ 1 file changed, 2 insertions(+) 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