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)