mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-09 00:14:30 +08:00
同步代码
This commit is contained in:
@@ -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' },
|
||||
];
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user