| | |
| | | /* |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2024-09-09 11:40:40 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2024-09-10 11:59:44 |
| | | * @FilePath: \drone-web-manage\src\store\getters.js |
| | | * @Description: |
| | | * |
| | | * Copyright (c) 2024 by shuishen, All Rights Reserved. |
| | | */ |
| | | const getters = { |
| | | tag: state => state.tags.tag, |
| | | language: state => state.common.language, |
| | |
| | | logsLen: state => state.logs.logsList.length || 0, |
| | | logsFlag: (state, getters) => getters.logsLen === 0, |
| | | flowRoutes: state => state.dict.flowRoutes, |
| | | devicesCmdExecuteInfo: state => state.device.devicesCmdExecuteInfo, |
| | | }; |
| | | export default getters; |