Commit a753eb35cbc1874d0323707e38ec3e340753c5fb
1 parent
c001535b
feat: 表格中增加比较多的列,复现表格错位问题
Showing
1 changed file
with
21 additions
and
0 deletions
src/views/demo/table/AuthColumn.vue
... | ... | @@ -70,6 +70,7 @@ |
70 | 70 | { |
71 | 71 | title: '姓名', |
72 | 72 | dataIndex: 'name', |
73 | + width: 200, | |
73 | 74 | auth: 'test', // 根据权限控制是否显示: 无权限,不显示 |
74 | 75 | }, |
75 | 76 | { |
... | ... | @@ -77,6 +78,26 @@ |
77 | 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 | 101 | title: '地址', |
81 | 102 | dataIndex: 'address', |
82 | 103 | auth: 'super', // 同时根据权限和业务控制是否显示 | ... | ... |