import React, { useEffect } from 'react'; import { connect } from 'react-redux'; const SetControl = (props) => { const { dispatch, actions, clientHeight, history, pomsAmbari, pomsKubesphere } = props useEffect(() => { }, []) return (
{ history.push({ pathname: '/facility/serverInformation/grafana', }) }}>
grafana
监控可视化工具
{/*
{ history.push({ pathname: '/facility/serverInformation/kubesphere', }) }}> */}
kubesphere
容器应用管理服务
{/*
*/}
ambari
Hadoop集群管理工具
) } function mapStateToProps (state) { const { auth, global, members, webSocket } = state; return { clientHeight: global.clientHeight, pomsAmbari: global.pomsAmbari, pomsKubesphere: global.pomsKubesphere, }; } export default connect(mapStateToProps)(SetControl);