mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-10 00:42:07 +08:00
合并3.3.0企业版改动
This commit is contained in:
@@ -252,6 +252,7 @@ const ClusterList = (props: { searchParams: SearchParams; showAccessCluster: any
|
||||
const {
|
||||
Brokers: brokers,
|
||||
Zookeepers: zks,
|
||||
// ConnectionsCount: connect,
|
||||
HealthCheckPassed: healthCheckPassed,
|
||||
HealthCheckTotal: healthCheckTotal,
|
||||
HealthState: healthState,
|
||||
@@ -352,6 +353,18 @@ const ClusterList = (props: { searchParams: SearchParams; showAccessCluster: any
|
||||
<div className="indicator-left-item-value">{zookeepersAvailable === -1 ? '-' : zks}</div>
|
||||
</div>
|
||||
)}
|
||||
{/* <div className="indicator-left-item">
|
||||
<div className="indicator-left-item-title">
|
||||
<span
|
||||
className="indicator-left-item-title-dot"
|
||||
style={{
|
||||
background: itemData.latestMetrics?.metrics?.BrokersNotAlive ? '#FF7066' : '#34C38F',
|
||||
}}
|
||||
></span>
|
||||
Connect
|
||||
</div>
|
||||
<div className="indicator-left-item-value">{connect}</div>
|
||||
</div> */}
|
||||
</div>
|
||||
<div className="indicator-right">
|
||||
{metricPoints.map((row, index) => {
|
||||
|
||||
@@ -61,7 +61,6 @@ const LayoutContainer = () => {
|
||||
// 路由前置守卫
|
||||
const routeBeforeEach = useCallback(
|
||||
(path: string, permissionNode: string | number) => {
|
||||
getLicenseInfo((msg) => licenseEventBus.emit('licenseError', msg));
|
||||
// 判断进入页面的前置条件是否满足,如果不满足,则展示加载状态
|
||||
const isClusterNotExist = path.includes(':clusterId') && !global.clusterInfo;
|
||||
const isNotLoadedPermissions = typeof global.hasPermission !== 'function';
|
||||
|
||||
Reference in New Issue
Block a user