text: 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,
    permission_routes: state => state.permission.routes,
    add_routes: state => state.permission.addRoutes,
    clientId: state => state.user.clientId,
    clientKey: state => state.user.clientKey,
    depart: state => state.user.depart,
    userName: state => state.user.userName,
    userId: state => state.user.userId,
    imgHost: state => state.settings.imgHost
  }
  export default getters
  