Skip to content

[Table] 某行数据取消高亮,高亮变化事件中activeRowList未置空 #5482

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

Open
lin-code-world opened this issue May 20, 2025 · 3 comments
Labels
🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed

Comments

@lin-code-world
Copy link

tdesign-vue-next 版本

1.13.0

重现链接

https://stackblitz.com/run?file=package.json,src%2Fdemo.vue

重现步骤

Table组件点击某行,失去高亮效果后,触发onActiveChange事件,其中返回参数context.activeRowList仍然存在失去高亮的那条记录。官方文档写着:activeRowList表示所有高亮行数据

期望结果

context.activeRowList应该去除失去高亮的数据

实际结果

context.activeRowList仍然存在失去高亮的那条记录

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@lin-code-world lin-code-world added 🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed labels May 20, 2025
Copy link
Contributor

👋 @lin-code-world,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@QuentinHsu
Copy link
Collaborator

你贴的重现链接,不是公开地址 ***/run?***。麻烦重新贴下。

公开地址在如下图按钮弹窗中可获取:

Image

@lin-code-world
Copy link
Author

你贴的重现链接,不是公开地址 ***/run?***。麻烦重新贴下。

公开地址在如下图按钮弹窗中可获取:

Image

就是官网提供的例子:https://stackblitz.com/edit/dsykxxfm?file=src%2Fdemo.vue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🧐 unconfirmed waiting to be confirmed
Projects
None yet
Development

No branches or pull requests

2 participants