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

[Feature Request] el-table summary-method method was called too many times #11509

Closed
AlexStacker opened this issue Jun 6, 2018 · 1 comment
Closed

Comments

@AlexStacker
Copy link

AlexStacker commented Jun 6, 2018

Existing Component

Component Name

el-table

Description

table-footer.jsL57-L67行,每次循环一个columns时都会调用一次summary-method,而这个方法第一次返回的值是个数组,已经确定了,不需要每次调用,每次调用会在数据量大的时候导致速度很慢。

@element-bot
Copy link
Member

Translation of this issue:

Existing Component
yes

Component Name
El-table

Description
table-footer.jsL57-L67 line, summary-method is called once every time a columns is circulate, and the first return value of this method is an array, which has been determined, and does not need to call the same result every time, resulting in a slow speed when the amount of data is large.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants