-
版本选择
+
版本分布
- {Object.keys(kafkaVersion).length ? (
-
+ {existKafkaVersion.length ? (
+
) : null}
@@ -307,7 +315,7 @@ const MultiClusterPage = () => {
>
diff --git a/km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/index.less b/km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/index.less
index 71e1e8ee..76ff6b41 100644
--- a/km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/index.less
+++ b/km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/index.less
@@ -295,6 +295,7 @@
.more-btn {
height: 30px;
+ line-height: 23px;
}
}
}
@@ -652,7 +653,7 @@
display: -webkit-inline-box;
margin-right: 16px;
- &.adjust-height-style{
+ &.adjust-height-style {
.dcloud-form-item-label {
padding: 0;
label {
diff --git a/km-console/packages/layout-clusters-fe/src/pages/SingleClusterDetail/DetailChart/config.tsx b/km-console/packages/layout-clusters-fe/src/pages/SingleClusterDetail/DetailChart/config.tsx
index d0725502..65ec2fd9 100644
--- a/km-console/packages/layout-clusters-fe/src/pages/SingleClusterDetail/DetailChart/config.tsx
+++ b/km-console/packages/layout-clusters-fe/src/pages/SingleClusterDetail/DetailChart/config.tsx
@@ -84,6 +84,7 @@ export const getChartConfig = (props: any) => {
lineStyle: {
width: 1,
},
+ smooth: 0.25,
symbol: 'emptyCircle',
symbolSize: 4,
// 面积图样式
diff --git a/km-console/packages/layout-clusters-fe/src/pages/TopicList/ExpandPartition.tsx b/km-console/packages/layout-clusters-fe/src/pages/TopicList/ExpandPartition.tsx
index c1c6bff3..0c814e43 100644
--- a/km-console/packages/layout-clusters-fe/src/pages/TopicList/ExpandPartition.tsx
+++ b/km-console/packages/layout-clusters-fe/src/pages/TopicList/ExpandPartition.tsx
@@ -1,18 +1,6 @@
import React, { useEffect, useState } from 'react';
import { useParams } from 'react-router-dom';
-import {
- AppContainer,
- Button,
- Divider,
- Drawer,
- Form,
- InputNumber,
- notification,
- SingleChart,
- Space,
- Spin,
- Utils,
-} from 'knowdesign';
+import { AppContainer, Button, Divider, Drawer, Form, InputNumber, notification, SingleChart, Space, Spin, Utils } from 'knowdesign';
import Api, { MetricType } from '@src/api/index';
import { getBasicChartConfig, getUnit } from '@src/constants/chartConfig';
import { formatChartData, MetricDefaultChartDataType } from '@src/components/DashboardDragChart/config';
@@ -193,6 +181,7 @@ const ExpandPartition = (props: { record: any; onConfirm: () => void }) => {
lineStyle: {
width: 1,
},
+ smooth: 0.25,
symbol: 'emptyCircle',
symbolSize: 4,
emphasis: {
diff --git a/km-console/packages/layout-clusters-fe/src/pages/TopicList/config.tsx b/km-console/packages/layout-clusters-fe/src/pages/TopicList/config.tsx
index fbbd412f..c424d44c 100644
--- a/km-console/packages/layout-clusters-fe/src/pages/TopicList/config.tsx
+++ b/km-console/packages/layout-clusters-fe/src/pages/TopicList/config.tsx
@@ -13,6 +13,7 @@ export const getChartConfig = (title: string) => {
lineStyle: {
width: 1,
},
+ smooth: 0.25,
symbol: 'emptyCircle',
symbolSize: 4,
emphasis: {
diff --git a/km-console/packages/layout-clusters-fe/src/style-addition.less b/km-console/packages/layout-clusters-fe/src/style-addition.less
index 4a3b1864..a8580040 100644
--- a/km-console/packages/layout-clusters-fe/src/style-addition.less
+++ b/km-console/packages/layout-clusters-fe/src/style-addition.less
@@ -1,5 +1,9 @@
@import '~knowdesign/es/style/index.less';
+@height-base: 36px;
+@height-lg: 42px;
+@height-sm: 27px;
+
// 全局变量替换
@body-background: #ebebf3;
@input-color: #495057;