mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-05 13:08:48 +08:00
fix: 修复 Broker Card 返回数据后依旧展示加载态的问题
This commit is contained in:
@@ -90,7 +90,7 @@ export default () => {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<span style={{ display: 'inline-block', marginRight: '8px' }}>Similar Config</span>
|
<span style={{ display: 'inline-block', marginRight: '8px' }}>Similar Config</span>
|
||||||
<Tooltip overlayClassName="rebalance-tooltip" title="所有broker配置是否一致">
|
<Tooltip overlayClassName="rebalance-tooltip" title="所有Broker配置是否一致">
|
||||||
<QuestionCircleOutlined />
|
<QuestionCircleOutlined />
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</div>
|
</div>
|
||||||
@@ -111,7 +111,7 @@ export default () => {
|
|||||||
];
|
];
|
||||||
setCardData(cordRightMap);
|
setCardData(cordRightMap);
|
||||||
});
|
});
|
||||||
Promise.all([brokerMetric, brokersState]).then((res) => {
|
Promise.all([brokerMetric, brokersState]).finally(() => {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
});
|
});
|
||||||
}, [routeParams.clusterId]);
|
}, [routeParams.clusterId]);
|
||||||
|
|||||||
Reference in New Issue
Block a user