inleft
2022-08-23 124ca536917b5eebe059bb98745f6743c52a6836
commit | author | age
9bcb19 1 const getters = {
I 2   device: state => state.app.device,
3   theme: state => state.app.theme,
4   color: state => state.app.color,
5   token: state => state.user.token,
6   avatar: state => state.user.avatar,
7   nickname: state => state.user.name,
8   welcome: state => state.user.welcome,
9   roles: state => state.user.roles,
10   buttons: state => state.user.buttons,
11   admintype: state => state.user.admintype,
12   userInfo: state => state.user.info,
13   addRouters: state => state.permission.addRouters,
14   multiTab: state => state.app.multiTab,
15   lang: state => state.i18n.lang
16 }
17
18 export default getters