refactor:树状表格设置一个默认宽度

This commit is contained in:
妙码生花 2022-10-30 03:01:47 +08:00
parent 0b28b64d31
commit 33d08aced5
3 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ const baTable: baTableClass = new baTableClass(
dblClickNotEditColumn: [undefined],
column: [
{ type: 'selection', align: 'center' },
{ label: t('auth.group.Group name'), prop: 'name', align: 'left' },
{ label: t('auth.group.Group name'), prop: 'name', align: 'left', width: '200' },
{ label: t('auth.group.jurisdiction'), prop: 'rules', align: 'center' },
{
label: t('state'),

View File

@ -36,7 +36,7 @@ const baTable = new baTableClass(
dblClickNotEditColumn: [undefined, 'keepalive', 'status'],
column: [
{ type: 'selection', align: 'center' },
{ label: t('auth.menu.title'), prop: 'title', align: 'left' },
{ label: t('auth.menu.title'), prop: 'title', align: 'left', width: '200' },
{ label: t('auth.menu.Icon'), prop: 'icon', align: 'center', width: '60', render: 'icon', default: 'el-icon-Minus' },
{ label: t('auth.menu.name'), prop: 'name', align: 'center', 'show-overflow-tooltip': true },
{

View File

@ -36,7 +36,7 @@ const baTable = new baTableClass(
expandAll: true,
column: [
{ type: 'selection', align: 'center', operator: false },
{ label: t('auth.menu.title'), prop: 'title', align: 'left' },
{ label: t('auth.menu.title'), prop: 'title', align: 'left', width: '200' },
{ label: t('auth.menu.Icon'), prop: 'icon', align: 'center', width: '60', render: 'icon', default: 'el-icon-Minus' },
{ label: t('auth.menu.name'), prop: 'name', align: 'center', 'show-overflow-tooltip': true },
{