希望需求:动作列 buttons 添加 visible 属性
zaxlct opened this issue · comments
Please follow the issue template, or your issue may be closed automatically.
For bug report, provide the following section
buttons: [
{
handler?: (row) => void; // 点击事件的 callback, 注意使用箭头函数,
visible?: (row) => Boolean; // 类似 v-if 的功能
label: String; // 按钮的 label
},
...
]
Online reproduce
It is important to provide an online sample to reproduce the issue.
- Template for reproducing front-end pagination issue
- Template for reproducing server-end pagination issue
Expected Behavior
Current Behavior
Steps to Reproduce
Detailed Description
For feature request, provide the following section