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

Posted duoer

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ant Design of Vue —— Table表格组件 —— 设置动态表头相关的知识,希望对你有一定的参考价值。

Column配置

比如:操作列

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

代码段

<template slot="变量名">{{动态表头名称}}</template>
 
 

以上是关于Ant Design of Vue —— Table表格组件 —— 设置动态表头的主要内容,如果未能解决你的问题,请参考以下文章