Blame view

src/store/getters.js 226 Bytes
80a28914e   吉鹏   init
1
2
3
4
5
6
7
8
  const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name
  }
  export default getters