1
李凌
2025-09-08 b26b298f86bcf5bb2dc2b6accc1759c1a2babc89
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {
  SET_NAV_HEIGHT,
} from "@/store/const.store"
 
export default {
  namespaced: true,
  state: {
    navHeight: 0
  },
  mutations: {
    [SET_NAV_HEIGHT](state, {height}) {
      state.navHeight = height;
    }
  }
}