fix(components): [table]emit "current-change" when currentRowKey changed (#6992)

This commit is contained in:
KAKI
2022-04-11 09:48:10 +09:00
committed by GitHub
parent 05d0eb8243
commit e08e514414

View File

@@ -29,6 +29,7 @@ function useCurrent<T>(watcherData: WatcherPropsData<T>) {
)
}
currentRow.value = _currentRow
instance.emit('current-change', currentRow.value, null)
}
const updateCurrentRow = (_currentRow: T) => {