jinlin
2023-11-15 43094c8793de5af81904eb49eebacfb76e209fe3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export default {
  state: {
    id: 0,
    name: '',
    localShip:0,
    isPlatform: false, // 是否为平台用户
    isSuperAdmin: false, // 是否为超级管理员
    menuList: []
  },
  mutations: {
    setMenuList(state, menuList) {
      //console.log(menuList,'menuList')
      state.menuList = menuList
    },
    setLocalShip(state, localShip) {
      state.localShip = localShip
    }
  }
}