formily/vue 使用 json-schema 方式渲染表单,当 schema 节点的 type=void 时,无法用 x-content 设置插槽 #2044
Answered
by
MisicDemone
jiezi19971225
asked this question in
Q&A [2.x]
-
https://codesandbox.io/s/strange-knuth-pretw?file=/src/components/HelloWorld.vue 这里看了源码 RecursionField 组件的源码,type 为 void 时是没有处理 slot 的 |
Beta Was this translation helpful? Give feedback.
Answered by
MisicDemone
Aug 25, 2021
Replies: 1 comment 1 reply
-
嗯,当前的实现下ObjectField和VoidField只支持 default slot,属于实现的问题。欢迎PR |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jiezi19971225
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
嗯,当前的实现下ObjectField和VoidField只支持 default slot,属于实现的问题。欢迎PR