游戏-游戏配置-优化样式,增强验证
This commit is contained in:
@@ -48,22 +48,21 @@ const baTable = new baTableClass(
|
||||
column: [
|
||||
{ type: 'selection', align: 'center', operator: false },
|
||||
{ label: t('game.config.ID'), prop: 'ID', align: 'center', width: 70, operator: 'RANGE', sortable: 'custom' },
|
||||
// {
|
||||
// label: t('game.config.channel_id'),
|
||||
// prop: 'channel_id',
|
||||
// align: 'center',
|
||||
// show: false,
|
||||
// enableColumnDisplayControl: false,
|
||||
// operatorPlaceholder: t('Fuzzy query'),
|
||||
// render: 'tags',
|
||||
// operator: 'LIKE',
|
||||
// comSearchRender: 'string',
|
||||
// },
|
||||
{
|
||||
label: t('game.config.channel_id'),
|
||||
prop: 'channel_id',
|
||||
align: 'center',
|
||||
show: false,
|
||||
width: 88,
|
||||
operator: 'RANGE',
|
||||
sortable: 'custom',
|
||||
},
|
||||
{
|
||||
label: t('game.config.channel__name'),
|
||||
prop: 'channel.name',
|
||||
align: 'center',
|
||||
minWidth: 100,
|
||||
sortable: 'true',
|
||||
operatorPlaceholder: t('Fuzzy query'),
|
||||
render: 'tags',
|
||||
operator: 'LIKE',
|
||||
@@ -111,6 +110,7 @@ const baTable = new baTableClass(
|
||||
label: t('game.config.instantiation'),
|
||||
prop: 'instantiation',
|
||||
align: 'center',
|
||||
custom: { 0: 'error', 1: 'primary' },
|
||||
operator: 'RANGE',
|
||||
sortable: false,
|
||||
render: 'tag',
|
||||
@@ -142,7 +142,7 @@ const baTable = new baTableClass(
|
||||
{ label: t('Operate'), align: 'center', width: 100, render: 'buttons', buttons: optButtons, operator: false },
|
||||
],
|
||||
dblClickNotEditColumn: [undefined, 'instantiation'],
|
||||
defaultOrder: { prop: 'group', order: 'desc' },
|
||||
defaultOrder: { prop: 'channel_id', order: 'desc' },
|
||||
},
|
||||
{
|
||||
defaultItems: { sort: 100 },
|
||||
|
||||
Reference in New Issue
Block a user