2.0.0-rc.14
Chrome 56
2.2.1
Table组件的column希望能通过一些属性控制它的显隐
比如 在active激活的情况下,table中的某一列隐藏
例子:
columns: [
{
type: 'selection',
display: () => {
return this.active;
}
}, {
title: '名字',
key: 'name'
}, ... , {}
]
请查看 iView 文档中 Table 的高级示例。
感谢
有个毛示例?
Most helpful comment
请查看 iView 文档中 Table 的高级示例。