1
李凌
2026-01-21 09cd59e111da050db1e26621a231c7e2eb7a415b
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) { // 修改主题状态