-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
按钮文字根据状态改变 #62
Comments
如果是函数,除了接收当前行的表格数据,还有什么参数建议吗😊 |
具体情况具体分析吧,参数的话,我写的时候,只用到这一行的数据。 |
😇
Hi,根据目前版本的情况,列一些可能不是最优的解决方法: (至于其他功能性的问题需要跟 巨佬们 请示/讨论) 2:假设你的是表单联动问题,此表格组件内使用的表单组件是团队定制版的el-form-renderer
// 大意为 `上下九` 只会在 `province === 'Guangdong'` 时才会可操作
[
{
label: '上下九',
$enableWhen: {
province: 'Guangdong'
}
}
] 5: {
type: 'primary',
text: '附加按钮1'
} |
数据格式是前后端约定好的。建议前端后统一规范 |
extraButtons,配置项里面,可以设置:text字段接收多种方式吗?比如接收一个方法,执行方法,而不是让方法变成字符串显示在页面上
The text was updated successfully, but these errors were encountered: