提交 163cab78 编写于 作者: G GraceWalk

fix: 部分文案 & 样式优化

上级 8f4ff36c
......@@ -25,7 +25,7 @@
}
}
.dcloud-table-cell-row-hover {
.content-with-copy:hover{
.copy-icon {
opacity: 1;
}
......
......@@ -98,7 +98,7 @@ export default (props: any) => {
dataIndex: 'OffsetConsumed',
key: 'OffsetConsumed',
render: (v: any, record: any) => {
return record?.latestMetrics?.metrics?.OffsetConsumed;
return record?.latestMetrics?.metrics?.OffsetConsumed.toLocaleString();
},
sorter: true,
// sorter: {
......@@ -115,7 +115,7 @@ export default (props: any) => {
dataIndex: 'LogEndOffset',
key: 'LogEndOffset',
render: (v: any, record: any) => {
return record?.latestMetrics?.metrics?.LogEndOffset;
return record?.latestMetrics?.metrics?.LogEndOffset.toLocaleString();
},
sorter: true,
// sorter: {
......@@ -132,7 +132,7 @@ export default (props: any) => {
dataIndex: 'Lag',
key: 'Lag',
render: (v: any, record: any) => {
return record?.latestMetrics?.metrics?.Lag;
return record?.latestMetrics?.metrics?.Lag.toLocaleString();
},
sorter: true,
// sorter: {
......
......@@ -108,11 +108,13 @@ const AutoPage = (props: any) => {
title: 'Max Lag',
dataIndex: 'maxLag',
key: 'maxLag',
render: (t: number) => (t ? t.toLocaleString() : '-'),
},
{
title: 'Member数',
dataIndex: 'memberCount',
key: 'memberCount',
render: (t: number) => (t ? t.toLocaleString() : '-'),
},
];
......
......@@ -153,6 +153,7 @@ export const ExpandedRow: any = ({ record, data, loading }: any) => {
<ProTable
// bordered
tableProps={{
isCustomPg: false,
showHeader: false,
loading: loading[record.key],
rowKey: 'key',
......
......@@ -13,7 +13,7 @@ const carouselList = [
<img className="carousel-eg-ctr-two-img img-one" src={egTwoContent} />
<div className="carousel-eg-ctr-two-desc desc-one">
<span>Github: </span>
<span>5K</span>
<span>5.4K</span>
<span>+ Star的项目 Know Streaming</span>
</div>
<div className="carousel-eg-ctr-two-desc desc-two">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册