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

表单数据量大于60k就会出现渲染卡顿 #36

Closed
MrBigBang opened this issue May 7, 2021 · 3 comments
Closed

表单数据量大于60k就会出现渲染卡顿 #36

MrBigBang opened this issue May 7, 2021 · 3 comments

Comments

@MrBigBang
Copy link

MrBigBang commented May 7, 2021

表单数据量大于60k就会出现渲染卡顿,示例 schema 和 配置数据我邮件私发你。麻烦帮忙看下怎么优化,比如分层渲染。

@wibetter
Copy link
Owner

wibetter commented Jun 7, 2021

JSONEditor开发出来主要是用于可视化配置面板的,对于大型json数据(mockData大于100k)展示起没有做任何预设处理。目前对于较大数据块在JSONEditor渲染慢的问题还也没有想到较好的解决方法,后续有解决方案第一时间通知您。

@wibetter
Copy link
Owner

wibetter commented Jun 7, 2021

初步解决思路(大json数据在JSONEditor渲染很慢的问题):
1、涉及到的json相关计算、查询、操作单独使用web workder处理,避免因为计算问题导致页面卡屏;
2、关键节点操作增加过渡效果(loading);
3、超大数据分批渲染;

@wibetter
Copy link
Owner

wibetter commented Jun 7, 2021

此issue已建相关功能issue:#40

@wibetter wibetter closed this as completed Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants