Ant Design of Vue —— Table表格组件 —— 设置动态表头

Column配置

比如:操作列

{
key: 'action',
scopedSlots: { customRender: 'action', title: '变量名' },
align: 'center'
}

代码段

<template slot="变量名">{{动态表头名称}}</template>
 
 
posted @ 2019-12-25 15:24  忘忧人  阅读(14578)  评论(2编辑  收藏  举报