fix: add version holder for backend

This commit is contained in:
jialin
2025-05-12 15:13:44 +08:00
parent 2b7eb832ed
commit 2416fd1c71
13 changed files with 63 additions and 39 deletions
+15 -4
View File
@@ -8,22 +8,21 @@
border-spacing: 0;
td {
border-bottom: 1px solid var(--ant-color-split);
border-bottom: 1px solid var(--color-white-light-1);
}
th {
border-bottom: 1px solid var(--ant-color-split);
border-bottom: 1px solid var(--color-white-light-1);
}
}
th {
height: 36px;
font-weight: 600;
color: var(--ant-color-text);
}
td {
color: var(--ant-color-text-secondary);
color: var(--color-white-quaternary);
}
.cell-span {
@@ -35,4 +34,16 @@
.cell-header {
font-weight: var(--font-weight-medium);
}
&.light {
th {
color: var(--ant-color-text);
border-bottom: 1px solid var(--ant-color-split);
}
td {
color: var(--ant-color-text);
border-bottom: 1px solid var(--ant-color-split);
}
}
}
+2 -2
View File
@@ -43,12 +43,12 @@ interface SimpleTableProps {
rowKey: string;
}
const SimpleTabel: React.FC<SimpleTableProps> = (props) => {
const { columns, dataSource, rowKey, bordered = true } = props;
const { columns, dataSource, rowKey, theme, bordered = true } = props;
return (
<div>
<table
className={classNames('simple-table', {
className={classNames('simple-table', theme, {
'simple-table-bordered': bordered
})}
>