Blame view

src/store/getters.js 826 Bytes
1 2 3 4 5
/*
 * @Description: 
 * @Autor: renchao
 * @LastEditTime: 2023-05-04 11:14:25
 */
赵千 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,
任超 committed
15
  userData: state => state.user.userData,
赵千 committed
16 17
  permission_routes: state => state.permission.routes,
  addRoutes: state => state.permission.addRoutes,
任超 committed
18
  addDict: state => state.dict.addDict,
吴蕾 committed
19
  dictData: state => state.dict.dictData,
任超 committed
20
  djbxx: state => state.djbxx.djbxx,
21
  // workflow
22
  isRefresh: state => state.user.isRefresh,
23
  yjsqOptions: state => state.workflow.yjsqOptions
赵千 committed
24 25
}
export default getters