Blame view

src/store/getters.js 635 Bytes
赵千 committed
1 2 3
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
任超 committed
4
  flag: state => state.app.splitScreen,
赵千 committed
5 6 7 8 9
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
任超 committed
10
  userData: state => state.user.userData,
赵千 committed
11 12
  permission_routes: state => state.permission.routes,
  addRoutes: state => state.permission.addRoutes,
任超 committed
13
  addDict: state => state.dict.addDict,
吴蕾 committed
14
  dictData: state => state.dict.dictData,
任超 committed
15
  djbxx: state => state.djbxx.djbxx,
赵千 committed
16 17
}
export default getters