xyc
2024-08-02 7abc95a191d2c1a9bb9ff8fd7fb05470a0d4e86b
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
    }
  }
}