新币+dapp app 前端
dcc
2024-05-09 c2ed92d725b020a3915ba7d818b8da84aeb36c79
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;
    }
  }
}