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

【BUG】Element布局 页面滑动卡顿 && 百万级数据表格是不能滑动吗? #41

Closed
luchaohai opened this issue Jul 16, 2018 · 5 comments
Labels
计划 Plan 以后需要做的事情

Comments

@luchaohai
Copy link

image

环境说明:MAC Chrome
资源地址:
https://fairyever.gitee.io/d2-admin-preview/#/demo/components/bigdata-table
https://fairyever.gitee.io/d2-admin-preview/#/demo/element/basic-layout
详细说明:

  1. Element布局页面,滑动中卡顿,卡顿明显;
  2. 百万级数据表格无法滑动
@FairyEver
Copy link
Member

  • basic-layout 这个页面在我电脑上没有卡顿
  • 表格那个示例页面的确有 bug 感谢提出,这是没有选择合适的d2-container组件的scroll属性导致的,稍后改正

@FairyEver
Copy link
Member

数据表格组件下个版本计划去掉,因为组件原作者还没有开发完,如果你有兴趣可以去原项目查看 https://github.com/lison16/vue-bigdata-table

@FairyEver FairyEver added the 计划 Plan 以后需要做的事情 label Jul 17, 2018
@xbc922
Copy link

xbc922 commented Jul 18, 2018

d2-container组件的scroll属性导致的无法滑动问题如何解决?

@FairyEver
Copy link
Member

在现在1.1.4版本中,“d2-container组件的scroll属性导致的无法滑动问题” 解决方法是d2-container组件使用“full”模式,1.1.4版本需要这样写:<d2-container type="full"></d2-container>,因为card模式和ghost模式都会自动使用优化的滚动条,所以只能使用上述写法。

在下个版本中 d2-container 组件的 type 属性默认值更改为 full

@FairyEver
Copy link
Member

新版本已经发布,d2-container 已经重构

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
计划 Plan 以后需要做的事情
Projects
None yet
Development

No branches or pull requests

3 participants