Blame view

src/store/getters.js 948 Bytes
1
/*
xiaomiao committed
2
 * @Description:
3
 * @Autor: renchao
4
 * @LastEditTime: 2023-07-28 15:49:38
5
 */
赵千 committed
6 7 8
const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
任超 committed
9
  flag: state => state.app.splitScreen,
赵千 committed
10 11 12 13 14
  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,
xiaomiao committed
15
  userInfo: state => state.user.userInfo,
任超 committed
16
  userData: state => state.user.userData,
赵千 committed
17 18
  permission_routes: state => state.permission.routes,
  addRoutes: state => state.permission.addRoutes,
任超 committed
19
  addDict: state => state.dict.addDict,
吴蕾 committed
20
  dictData: state => state.dict.dictData,
任超 committed
21
  djbxx: state => state.djbxx.djbxx,
22
  // workflow
23
  isRefresh: state => state.user.isRefresh,
24
  workFresh: state => state.user.workFresh,
xiaomiao committed
25 26
  yjsqOptions: state => state.workflow.yjsqOptions,
  dqhj: state => state.getdqhj.dqhj
赵千 committed
27 28
}
export default getters