const getters = { sidebar: state => state.app.sidebar, device: state => state.app.device, token: state => state.user.token, userId: state => state.user.userId, avatar: state => state.user.avatar, name: state => state.user.name, shiyongdanwei: state => state.user.shiyongdanwei, category: state => state.user.category, version: state => state.user.version } export default getters