From 3f1ab7f7f65fe665f6977f94899c763cc1ef1faf Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 02 Jun 2026 15:56:14 +0800
Subject: [PATCH] 1
---
src/main.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main.js b/src/main.js
index 063cd07..ea15346 100644
--- a/src/main.js
+++ b/src/main.js
@@ -18,7 +18,7 @@
pinia.use(piniaPluginPersistedstate)
// 初始化主题为黑夜模式
-const theme = getStorage('theme') || 'dark'
+const theme = getStorage('theme') || 'theme'
window.document.documentElement.setAttribute('data-theme', theme)
const app = createApp(App)
--
Gitblit v1.9.3