We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.0.0-beta.5
win10
https://vuecomponent.github.io/issue-helper/
<template> <div> <a-descriptions title="User Info" bordered :column="2"> <a-descriptions-item label="test"> test </a-descriptions-item> <a-descriptions-item v-for="(prop, index) in vals" :key="index" :label="prop.name"> {{ prop.type }} </a-descriptions-item> </a-descriptions> <div v-for="(prop, index) in vals" :key="index"> {{ prop.type }} </div> </div> </template> <script> export default { data() { return { vals: [ { id: 1, name: 'prop1', type: 'text' }, { id: 2, name: 'prop2', type: 'text' }, ], }; }, }; </script>
显示 3 个 descriptions-item 和 2个 div
只显示了 1 个固定的 descriptions-item 和 2 个div
vue3中 v-for 渲染为 Fragment,descriptions代码里面 clone 子项的时候没有考虑到 Fragment的情况
The text was updated successfully, but these errors were encountered:
fix: Descriptions Item support v-for #2793
b616823
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.
Sorry, something went wrong.
No branches or pull requests
Version
2.0.0-beta.5
Environment
win10
Reproduction link
https://vuecomponent.github.io/issue-helper/
Steps to reproduce
What is expected?
显示 3 个 descriptions-item 和 2个 div
What is actually happening?
只显示了 1 个固定的 descriptions-item 和 2 个div
vue3中 v-for 渲染为 Fragment,descriptions代码里面 clone 子项的时候没有考虑到 Fragment的情况
The text was updated successfully, but these errors were encountered: