Commit b9dee8595fd32d9236fa7fc649c962cae6ab6fac
1 parent
a753eb35
feat: 复现:表格中增加比较多的列,且加了rowSelection后,表格错位问题
Showing
1 changed file
with
4 additions
and
0 deletions
src/views/demo/table/AuthColumn.vue
@@ -123,6 +123,10 @@ | @@ -123,6 +123,10 @@ | ||
123 | api: demoListApi, | 123 | api: demoListApi, |
124 | columns: columns, | 124 | columns: columns, |
125 | bordered: true, | 125 | bordered: true, |
126 | + rowKey: 'id', | ||
127 | + rowSelection: { | ||
128 | + type: 'checkbox', | ||
129 | + }, | ||
126 | actionColumn: { | 130 | actionColumn: { |
127 | width: 250, | 131 | width: 250, |
128 | title: 'Action', | 132 | title: 'Action', |