fe-drone-ci/src/store/getters.js

17 lines
575 B
JavaScript
Raw Normal View History

2017-04-18 07:09:13 +00:00
const getters = {
sidebar: state => state.app.sidebar,
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
uid: state => state.user.uid,
email: state => state.user.email,
introduction: state => state.user.introduction,
auth_type: state => state.user.auth_type,
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,
addRouters: state => state.permission.addRouters
2017-04-18 07:09:13 +00:00
};
export default getters