element-plus / element-plus

🎉 A Vue.js 3 UI Library made by Element team
https://element-plus.org
MIT License
24.57k stars 16.64k forks source link

[Feature Request] 通过el-table 的current-change事件来获取当前行的index #16181

Open yinjisong opened 7 months ago

yinjisong commented 7 months ago

Existing Component

Yes

Component Name

2.6.1

Description

可否通过current-change的事件来获取到当前行的索引值,另外cell-contextmenu使用时获取到当前行的index也是undefined,可否增加右键也能获取到行索引的功能

zeyongTsai commented 7 months ago

考虑到表格树,索引不太合适。