From bbf6d337c9641c0d1bf2c57f05310e59c104990b Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Fri, 29 May 2026 15:04:43 +0800
Subject: [PATCH] 1

---
 src/store/modules/vant.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/vant.js b/src/store/modules/vant.js
index 4e04408..ea0f386 100644
--- a/src/store/modules/vant.js
+++ b/src/store/modules/vant.js
@@ -5,7 +5,7 @@
 export default {
   namespaced: true,
   state: {
-    theme: 'light' || getStorage('theme'), // 主题 light(白天)/dark(夜间)
+    theme: getStorage('theme') || 'dark', // 主题 light(白天)/dark(夜间)
   },
   mutations: {
     "SET_THEME"(state, val) { // 修改主题状态

--
Gitblit v1.9.3