mt-ck-wms-ui/src/store/getters.js

25 lines
795 B
JavaScript
Raw Normal View History

2021-09-13 14:56:28 +08:00
/*
* @Date: 2020-12-14 09:07:03
2021-12-22 16:13:55 +08:00
* @LastEditors: zwq
* @LastEditTime: 2021-12-22 11:38:46
2021-09-13 14:56:28 +08:00
* @FilePath: \basic-admin\src\store\getters.js
* @Description:
*/
const getters = {
sidebar: state => state.app.sidebar,
language: state => state.app.language,
size: state => state.app.size,
device: state => state.app.device,
choicepart: state => state.app.choicepart,
visitedViews: state => state.tagsView.visitedViews,
cachedViews: state => state.tagsView.cachedViews,
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,
introduction: state => state.user.introduction,
username: state => state.user.username,
roles: state => state.user.roles,
permission_routes: state => state.permission.routes
}
export default getters