From 9337c3cf960b60078558b7f942fd27f1ab39364b Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 16 Dec 2025 18:29:46 +0800
Subject: [PATCH] 改黑夜样式
---
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