12345678910111213141516171819202122232425262728293031323334 |
- /*
- * @Author: your name
- * @Date: 2021-10-14 17:17:53
- * @LastEditTime: 2022-02-28 15:25:48
- * @LastEditors: Please set LastEditors
- * @Description: In User Settings Edit
- * @FilePath: \Foshan4A\src\store\getters.js
- */
- const getters = {
- sidebar: state => state.app.sidebar,
- device: state => state.app.device,
- token: state => state.user.token,
- UserId: state => state.user.UserId,
- UserType: state => state.user.UserType,
- avatar: state => state.user.avatar,
- name: state => state.user.name,
- roles: state => state.user.roles,
- firstLogin: state => state.user.firstLogin,
- dialog: state => state.app.dialog,
- pwdflag: state => state.app.pwdflag,
- outflag: state => state.app.outflag,
- outcheck: state => state.app.outcheck,
- visitedViews: state => state.tagsView.visitedViews,
- cachedViews: state => state.tagsView.cachedViews,
- systemSet: state => state.app.systemSet,
- errorNum: state => state.app.errorNum,
- authArrs: state => state.auth.authArrs,
- authList: state => state.auth.authList,
- authId: state => state.auth.authId,
- authMsg: state => state.auth.authMsg,
- userRole: state => state.app.OpenRole,
- permission_routes: state => state.permission.routes
- }
- export default getters
|