From 7bb960ef165d091678a65ddc01b6551ec4487daa Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 29 Dec 2025 14:26:11 +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