Skip to content

table:开启复选框当数据大于100不分页,同页面的input,switch组件明显出现卡顿 #1019

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 done
yezi12138 opened this issue Jul 25, 2019 · 7 comments
Labels

Comments

@yezi12138
Copy link

yezi12138 commented Jul 25, 2019

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

Version

1.3.9

Environment

win10/vue2.5.22

Reproduction link

https://preview.pro.loacg.com/profile/advanced

Steps to reproduce

高级详情页-操作日志一下:
1: 增加返回的数据量 > 100,并且表格不分页
2: 开启表格勾选功能
3:在表格上方添加input / switch组件,并且使用v-model绑定值 (不绑定则不会出现问题)
4:在input中输入文字

What is expected?

表单的使用不卡顿

What is actually happening?

表单的使用卡顿,input大约延迟2s,switch1s

@hulei2014
Copy link

遇到了同样的问题

@tangjinzhou
Copy link
Member

每次input或switch 的改变都会导致整个table的刷新,还是建议使用分页

@beyern
Copy link

beyern commented Aug 5, 2019

使用了:scroll="{x:2000}"后,卡顿特别明显。希望能解决一下。目前的方案就是自己控制滚动。但是无法使用列固定功能。

@tangjinzhou
Copy link
Member

输入区域(input)、展示区域(table)可以分成两个单文件组件会有不错的性能提升

@Liu-Ya
Copy link

Liu-Ya commented Sep 4, 2019

输入区域(input)、展示区域(table)可以分成两个单文件组件会有不错的性能提升

这样做起来实在很麻烦,这是一个bug吗?有没有计划修复?😂

@tangjinzhou
Copy link
Member

ref #1049

@github-actions
Copy link

github-actions bot commented Sep 6, 2020

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 Sep 6, 2020
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

5 participants