jinlin
2024-03-12 69218874b7d166cf9c5a10e23e9d2e0b9280633a
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
    }
  }
}