李凌
2025-09-10 a7ea20968f76e1a6a0e0db574a1b5ff8bfd18935
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;
    }
  }
}