You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
297 B
11 lines
297 B
2 years ago
|
const getters = {
|
||
1 year ago
|
id:id=>state.user.id,
|
||
2 years ago
|
token: state => state.user.token,
|
||
|
avatar: state => state.user.avatar,
|
||
|
name: state => state.user.name,
|
||
|
roles: state => state.user.roles,
|
||
1 year ago
|
permissions: state => state.user.permissions,
|
||
|
hasLogin:state=>state.user.hasLogin
|
||
2 years ago
|
}
|
||
|
export default getters
|