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