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.
12 lines
368 B
12 lines
368 B
|
2 years ago
|
const getters = {
|
||
|
|
sidebar: state => state.app.sidebar,
|
||
|
|
device: state => state.app.device,
|
||
|
|
token: state => state.user.token,
|
||
|
|
avatar: state => state.user.avatar,
|
||
|
|
name: state => state.user.name,
|
||
|
|
admins: state => state.data.admins,
|
||
|
|
departments: state => state.data.departments,
|
||
|
|
permission_routes: state => state.permission.routes,
|
||
|
|
}
|
||
|
|
export default getters
|