Antd Component ( Select.Option, Form.Item, Menu.Item .eg) only render first child
zhaohongyan opened this issue · 5 comments
zhaohongyan commented
I have some antd component only render first child, for example:
<Select>
<Select.Option>1</Select.Option>
<Select.Option>2</Select.Option>
<Select.Option>3</Select.Option>
</Select>
only option1 has render, other options not render
zhaohongyan commented
dirt1de commented
Dear zhaohongyan,
I encountered the same issue here (I hope to use the Select component from Antd in my Vue project). However, I tried to use Vuera without the Vue plugin, but still failed. Is it possible for you to post your solution code here? Thanks in advance!
zhaohongyan commented
webpack.config.js 里面去掉vuera/babel这个插件,使用另外一种方式引入Vue in React - without the Babel plugin
dirt1de commented
就是去掉vuera/babel后用Vuera的HOC API吗?
zhaohongyan commented
是的