同步代码

This commit is contained in:
zengqiao
2022-08-23 19:01:53 +08:00
parent e90c5003ae
commit e1514c901b
76 changed files with 796 additions and 577 deletions

View File

@@ -77,7 +77,7 @@ const BrokerConfiguration = (props: any) => {
// 多选配置
const checkedBoxOptions = [
{ label: 'Hide read-only', value: 'readOnly' },
// { label: 'Hide read-only', value: 'readOnly' },
{ label: 'Show Overrides Only', value: 'override' },
];

View File

@@ -129,22 +129,22 @@ export const getTopicMessagesColmns = () => {
export const getTopicConfigurationColmns = (arg: any) => {
const columns: any = [
{
title: '',
dataIndex: 'readOnly',
key: 'readOnly',
align: 'right',
// eslint-disable-next-line react/display-name
render: (t: string, r: any) => {
return t ? (
<Tooltip title="该配置无法修改" visible={r.name === arg?.readOnlyRecord?.name && arg?.readOnlyVisible}>
<IconFont style={{ color: '#556EE6', fontSize: '16px' }} type="icon-suoding" />
</Tooltip>
) : null;
},
width: 56,
classsName: 'xxxxxxxx',
},
// {
// title: '',
// dataIndex: 'readOnly',
// key: 'readOnly',
// align: 'right',
// // eslint-disable-next-line react/display-name
// render: (t: string, r: any) => {
// return t ? (
// <Tooltip title="该配置无法修改" visible={r.name === arg?.readOnlyRecord?.name && arg?.readOnlyVisible}>
// <IconFont style={{ color: '#556EE6', fontSize: '16px' }} type="icon-suoding" />
// </Tooltip>
// ) : null;
// },
// width: 56,
// classsName: 'xxxxxxxx',
// },
{
title: '配置名',
dataIndex: 'name',

View File

@@ -226,7 +226,7 @@
flex-flow: row wrap;
width: 100%;
&-item {
width: 16px;
width: 32px;
height: 16px;
margin-bottom: 22px;
border-radius: 4px;
@@ -235,7 +235,7 @@
transition: all ease 0.2s;
cursor: pointer;
&:not(&:nth-of-type(5n)) {
margin-right: 51px;
margin-right: 31px;
}
&-leader {
background: rgba(85, 110, 230, 0.1);