feat(sj_1.0.0): 在线机器支持手动扩宽宽度
This commit is contained in:
parent
9ae1d86031
commit
06be428218
@ -21,13 +21,16 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'hostId',
|
key: 'hostId',
|
||||||
title: $t('page.pods.hostId'),
|
title: $t('page.pods.hostId'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120
|
resizable: true,
|
||||||
|
width: 150,
|
||||||
|
minWidth: 150,
|
||||||
|
maxWidth: 200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'nodeType',
|
key: 'nodeType',
|
||||||
title: $t('page.pods.nodeType'),
|
title: $t('page.pods.nodeType'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 100,
|
width: 80,
|
||||||
render: row => {
|
render: row => {
|
||||||
if (row.nodeType === null) {
|
if (row.nodeType === null) {
|
||||||
return null;
|
return null;
|
||||||
@ -47,7 +50,10 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'groupName',
|
key: 'groupName',
|
||||||
title: $t('page.pods.groupName'),
|
title: $t('page.pods.groupName'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 180
|
width: 120,
|
||||||
|
resizable: true,
|
||||||
|
minWidth: 120,
|
||||||
|
maxWidth: 200
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'hostIp',
|
key: 'hostIp',
|
||||||
@ -59,13 +65,16 @@ const { columns, columnChecks, data, getData, loading, mobilePagination, searchP
|
|||||||
key: 'hostPort',
|
key: 'hostPort',
|
||||||
title: $t('page.pods.hostPort'),
|
title: $t('page.pods.hostPort'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 120
|
width: 80
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'consumerBuckets',
|
key: 'consumerBuckets',
|
||||||
title: $t('page.pods.consumerBuckets'),
|
title: $t('page.pods.consumerBuckets'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
width: 360,
|
width: 300,
|
||||||
|
resizable: true,
|
||||||
|
minWidth: 120,
|
||||||
|
maxWidth: 400,
|
||||||
render: row => {
|
render: row => {
|
||||||
if (row.nodeType === null) {
|
if (row.nodeType === null) {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user