vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.33k stars 3.8k forks source link

Slider with VNodes #171

Closed SchroterQuentin closed 6 years ago

SchroterQuentin commented 6 years ago

Version

1.1.0-beta.0

Environment

Windows 10, firefox and chrome, vue 2.5.15, vue-antd-ui 1.0.1

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Put VNodes in marks of slider does not render

What is expected?

It's expected to render the VNodes

What is actually happening?

Nothing is happening

tangjinzhou commented 6 years ago

你那是对象,不是VNode 参考:https://codesandbox.io/s/316m17m501

SchroterQuentin commented 6 years ago

Thanks for the answer, is there any way to do the same but with only javascript ? I do not use this kind of syntax.

tangjinzhou commented 6 years ago

Temporarily not supported, the next version can be added to support render and slot

SchroterQuentin commented 6 years ago

Ok nice, thanks ! Which version will allow this behavior ? Can I help ?

tangjinzhou commented 6 years ago

You can submit any ideas as pull requests or as GitHub issues.

tangjinzhou commented 6 years ago

please update to 1.1.1 now support function

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.