2017-04-18 07:09:13 +00:00
|
|
|
const getters = {
|
|
|
|
sidebar: state => state.app.sidebar,
|
2017-11-03 10:37:49 +00:00
|
|
|
language: state => state.app.language,
|
2018-08-29 07:24:47 +00:00
|
|
|
size: state => state.app.size,
|
2018-05-02 06:43:20 +00:00
|
|
|
device: state => state.app.device,
|
2017-12-08 08:17:40 +00:00
|
|
|
visitedViews: state => state.tagsView.visitedViews,
|
|
|
|
cachedViews: state => state.tagsView.cachedViews,
|
2017-04-18 07:09:13 +00:00
|
|
|
token: state => state.user.token,
|
|
|
|
avatar: state => state.user.avatar,
|
|
|
|
name: state => state.user.name,
|
|
|
|
introduction: state => state.user.introduction,
|
|
|
|
status: state => state.user.status,
|
|
|
|
roles: state => state.user.roles,
|
2017-05-17 08:26:33 +00:00
|
|
|
setting: state => state.user.setting,
|
|
|
|
permission_routers: state => state.permission.routers,
|
2017-12-13 05:52:14 +00:00
|
|
|
addRouters: state => state.permission.addRouters,
|
2019-02-23 21:40:26 +00:00
|
|
|
errorLogs: state => state.errorLog.logs,
|
2019-03-23 14:09:48 +00:00
|
|
|
users: state => state.users.fetchedUsers,
|
2019-08-09 16:45:25 +00:00
|
|
|
authHost: state => state.user.authHost,
|
2020-02-27 19:25:50 +00:00
|
|
|
settings: state => state.settings
|
2017-08-22 07:43:34 +00:00
|
|
|
}
|
2017-04-18 07:09:13 +00:00
|
|
|
export default getters
|