建议功能性按钮不要作为 Schema properties 的方式去配置 #1540
smalldragonluo
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
很早就考虑过这个了,作为properties的考虑主要是需要支持按钮的联动,比如某些字段会控制操作按钮的显示隐藏等,所以不会考虑内置功能按钮,如果用户希望内置,可以自定义组件 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如图,建议功能性按钮不要作为 Schema properties 的方式去配置~ 一是有一定理解/使用成本,增大了 Schema 的体积,二来将一些不必要的底层实现暴露给用户似乎也不太优雅。是否可以用 x-component-props 去开启/配置功能呢?
Beta Was this translation helpful? Give feedback.
All reactions