Commit a753eb35cbc1874d0323707e38ec3e340753c5fb

Authored by zuihou
1 parent c001535b

feat: 表格中增加比较多的列,复现表格错位问题

src/views/demo/table/AuthColumn.vue
@@ -70,6 +70,7 @@ @@ -70,6 +70,7 @@
70 { 70 {
71 title: '姓名', 71 title: '姓名',
72 dataIndex: 'name', 72 dataIndex: 'name',
  73 + width: 200,
73 auth: 'test', // 根据权限控制是否显示: 无权限,不显示 74 auth: 'test', // 根据权限控制是否显示: 无权限,不显示
74 }, 75 },
75 { 76 {
@@ -77,6 +78,26 @@ @@ -77,6 +78,26 @@
77 dataIndex: 'status', 78 dataIndex: 'status',
78 }, 79 },
79 { 80 {
  81 + title: '状态1',
  82 + dataIndex: 'status1',
  83 + },
  84 + {
  85 + title: '状态2',
  86 + dataIndex: 'status2',
  87 + },
  88 + {
  89 + title: '状态3',
  90 + dataIndex: 'status3',
  91 + },
  92 + {
  93 + title: '状态4',
  94 + dataIndex: 'status4',
  95 + },
  96 + {
  97 + title: '状态5',
  98 + dataIndex: 'status5',
  99 + },
  100 + {
80 title: '地址', 101 title: '地址',
81 dataIndex: 'address', 102 dataIndex: 'address',
82 auth: 'super', // 同时根据权限和业务控制是否显示 103 auth: 'super', // 同时根据权限和业务控制是否显示