Browse Source

chore: 设定权限列columns宽度,消除演示表格错位问题 (#3087)

pull/3096/head
invalid w 3 years ago
committed by GitHub
parent
commit
690d887680
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/views/demo/table/AuthColumn.vue

8
src/views/demo/table/AuthColumn.vue

@ -71,32 +71,38 @@
{
title: '姓名',
dataIndex: 'name',
width: 200,
minWidth: 200,
auth: 'test', // 根据权限控制是否显示: 无权限,不显示
},
{
title: '状态',
dataIndex: 'status',
width: 100,
},
{
title: '状态1',
dataIndex: 'status1',
width: 100,
},
{
title: '状态2',
dataIndex: 'status2',
width: 100,
},
{
title: '状态3',
dataIndex: 'status3',
width: 100,
},
{
title: '状态4',
dataIndex: 'status4',
width: 100,
},
{
title: '状态5',
dataIndex: 'status5',
width: 100,
},
{
title: '地址',

Loading…
Cancel
Save