Blame view

src/store/getters.js 590 Bytes
80a28914e   吉鹏   init
1
2
  const getters = {
    sidebar: state => state.app.sidebar,
d7d9c38c2   Adam   auto commit the c...
3
4
    language: state => state.app.language,
    size: state => state.app.size,
80a28914e   吉鹏   init
5
    device: state => state.app.device,
d7d9c38c2   Adam   auto commit the c...
6
7
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
80a28914e   吉鹏   init
8
9
    token: state => state.user.token,
    avatar: state => state.user.avatar,
cf56a6c30   吉鹏   init role permission
10
    name: state => state.user.name,
d7d9c38c2   Adam   auto commit the c...
11
    introduction: state => state.user.introduction,
cf56a6c30   吉鹏   init role permission
12
    roles: state => state.user.roles,
d7d9c38c2   Adam   auto commit the c...
13
14
    permission_routes: state => state.permission.routes,
    errorLogs: state => state.errorLog.logs
80a28914e   吉鹏   init
15
16
  }
  export default getters