dataease-dm/frontend/src/store/getters.js

35 lines
1.4 KiB
JavaScript
Raw Normal View History

2021-03-03 15:06:52 +08:00
const getters = {
sidebar: state => state.app.sidebar,
2021-05-18 15:46:14 +08:00
language: state => state.user.language,
2021-03-03 15:06:52 +08:00
size: state => state.app.size,
device: state => state.app.device,
token: state => state.user.token,
linkToken: state => state.user.linkToken,
2021-03-03 15:06:52 +08:00
avatar: state => state.user.avatar,
name: state => state.user.name,
introduction: state => state.user.introduction,
user: state => state.user.user,
roles: state => state.user.roles,
loadMenus: state => state.user.loadMenus,
permission_routes: state => state.permission.routes,
addRouters: state => state.permission.addRouters,
errorLogs: state => state.errorLog.logs,
sceneData: state => state.dataset.sceneData,
2021-03-04 14:58:52 +08:00
table: state => state.dataset.table,
2021-12-22 11:42:44 +08:00
hideCustomDs: state => state.dataset.hideCustomDs,
2021-03-04 14:58:52 +08:00
loadingMap: state => state.request.loadingMap,
2021-03-05 16:07:44 +08:00
currentPath: state => state.permission.currentPath,
2021-03-29 21:24:33 +08:00
permissions: state => state.user.permissions,
2021-04-15 10:33:22 +08:00
beanMap: state => state.application.beanMap,
leftWidgetMap: state => state.application.leftWidgetMap,
dialogWidgetMap: state => state.application.dialogWidgetMap,
2021-05-12 16:19:41 +08:00
drawWidgetMap: state => state.application.drawWidgetMap,
validate: state => state.lic.validate,
2021-05-18 14:33:48 +08:00
licMsg: state => state.lic.licMsg,
2021-05-20 12:02:12 +08:00
uiInfo: state => state.user.uiInfo,
2021-07-09 18:37:07 +08:00
conditions: state => state.conditions.conditions,
2021-07-27 18:03:56 +08:00
msgTypes: state => state.msg.msgTypes,
geoMap: state => state.map.geoMap
2021-03-03 15:06:52 +08:00
}
export default getters