antdv
zjp1995
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
antdv row-selection value绑定
antdv的 table 默认绑定当前行的index值 ,类似下图的 1,2,4,5,6 现在想关联到此条数据的ID值 ,网上查了好几种 ,例如 : <a-table :columns="columns" :data-source="data" :rowKey="(record,index)=> {return record.itemid}" @change="handleTableChange" :row-selection="{selectedRowKeys: selecte原创 2021-12-22 18:30:24 · 832 阅读 · 0 评论 -
antdv 表格标题换行
antdv表头使用json格式自动生成,但是需要换行的时候无法使用br标签,也无法使用\n换行 – 可以使用 slots data中 columns:{ {title: '图片', dataIndex: 'category'}, { dataIndex: 'attribute',slots:{title:"sku-title"}}, {title: '出售方式', dataIndex: 'attribute'} } table中 <a-table id="step :columns="colum原创 2021-12-17 18:01:39 · 2820 阅读 · 1 评论
分享