vue + antd 表格应用
vue + antd 使用 antd的表格组件,并在表格最后一列添加操作列
第一步 在cloumns 中添加
{
title: 'AOD File',
dataIndex: 'operation',
scopedSlots: { customRender: 'operation' },
width: 160
}
第二步写一个插槽 slot 的值和第一步中的dataIndex对应
<a-table:columns...
原创
2021-02-02 09:58:51 ·
903 阅读 ·
0 评论