const getters = {
    sidebar: (state) => state.app.sidebar,
    device: (state) => state.app.device,
    token: (state) => state.user.token,
    time: (state) => state.user.time,
    avatar: (state) => state.user.avatar,
    userName: (state) => state.user.userName,
    headImage: (state) => state.user.headImage,
    roles: (state) => state.user.roles,
    routes: (state) => state.permission.routes,
    buttons: (state) => state.user.buttons
}
export default getters