jhzh
2024-10-22 f9ed6a8d29e3d465afcdcd7e5840df1d77d49c66
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;
    }
  }
}