在 Table 中,dataSource 和 columns 里的数据值都需要指定 key 值。对于 dataSource 默认将每列数据的 key 属性作为唯一的标识。
<a-table
:dataSource="tableData"
:columns="columns"
:rowKey="(record,index)=>{return index}">
</a-table>
此时rowKey绑定的为索引,也可绑定record中的某个有唯一值的属性
```如果不绑定rowKey,多选(selectedRows)操作可能会出问题