1
2026-05-31 304f819d3e9b2498ebdb70b99b632cda67725a52
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) { // 修改主题状态