Skip to content

table template a-table-column-group (#3934, #3938) #3966

New issue

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

Closed
1 task
runkobe24 opened this issue Apr 19, 2021 · 4 comments
Closed
1 task

table template a-table-column-group (#3934, #3938) #3966

runkobe24 opened this issue Apr 19, 2021 · 4 comments
Labels

Comments

@runkobe24
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.1

Environment

vue3

Reproduction link

#3938

Steps to reproduce

Still not implemented

What is expected?

a-table-column can use v-for in a-table-column-group

What is actually happening?

a-table-column using v-for in a-table-column-group will result in empty dom

@runkobe24
Copy link
Author

<a-table-column-group>
  <template #title><span style="color: #1890ff">Name</span></template>
  //这是成功的
  <a-table-column key="firstName" data-index="firstName">
    <template #title><span style="color: #1890ff">First Name</span></template>
  </a-table-column>
  //这是失败的
  <a-table-column v-for="item in 3" :key="item" :title="item" :data-index="item" />
</a-table-column-group>
<a-table-column key="age" title="Age" data-index="age" />
<a-table-column key="address" title="Address" data-index="address" /> 

@John60676
Copy link
Member

已经修复了,等发版

@John60676
Copy link
Member

Duplicate of #3934

@John60676 John60676 marked this as a duplicate of #3934 Apr 20, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants