mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [table]emit "current-change" when currentRowKey changed (#6992)
This commit is contained in:
@@ -29,6 +29,7 @@ function useCurrent<T>(watcherData: WatcherPropsData<T>) {
|
||||
)
|
||||
}
|
||||
currentRow.value = _currentRow
|
||||
instance.emit('current-change', currentRow.value, null)
|
||||
}
|
||||
|
||||
const updateCurrentRow = (_currentRow: T) => {
|
||||
|
||||
Reference in New Issue
Block a user