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

[Component] [table] After selecting a row, the slot function on the page will be executed again. When the amount of data is large, the performance overhead of the browser is very high. #16626

Open
chengzhanpeng opened this issue Apr 23, 2024 · 0 comments

Comments

@chengzhanpeng
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.4.0
  • Element Plus Version: 2.4.4
  • Browser / OS: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
  • Build Tool: Vite

Reproduction

Related Component

  • el-table

Reproduction Link

Element Plus Playground

Steps to reproduce

Click on the connection, then select a row. After it changes color, check the console.
点击连接,然后选中一行,变色之后,查看console

What is Expected?

Only execute the method of row-class-name
只执行row-class-name的方法

What is actually happening?

Execute all methods in hasData
把hasData中的方法都执行了

Additional comments

(empty)

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

1 participant