From e01cee0f0c5c5c2eb2d8595eadb3c7a9df2a37fc Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Wed, 21 Jan 2026 16:37:01 +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