Skip to content
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

table 使用row-selection 且fixed: true 然后data-source为空的情况下加载很慢且一大堆warning #3082

Closed
1 task
wzohxia opened this issue Nov 2, 2020 · 1 comment
Labels

Comments

@wzohxia
Copy link

wzohxia commented Nov 2, 2020

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

Version

2.0.0-beta.12

Environment

vue3.0.2 Chrome86.0.4240.75

Reproduction link

https://2x.antdv.com/components/table-cn/

Steps to reproduce

<a-table
:columns="[
{
dataIndex: 'name',
key: 'name',
},
{
title: 'Age',
dataIndex: 'age',
key: 'age',
},
{
title: 'Address',
dataIndex: 'address',
key: 'address',
},
{
title: 'Tags',
key: 'tags',
dataIndex: 'tags',
},
{
title: 'Action',
key: 'action',
},
]"
:data-source="[]"
:row-selection="{ fixed: true }"
>
</a-table>

image

What is expected?

bug fix

What is actually happening?

当data-scource为空时页面加载很慢且一大堆warning

@github-actions
Copy link

github-actions bot commented Nov 3, 2021

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 Nov 3, 2021
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