From e08e5144142fd6f65ead03751deaba5bedaecc2e Mon Sep 17 00:00:00 2001 From: KAKI <45614103+kakigakki@users.noreply.github.com> Date: Mon, 11 Apr 2022 09:48:10 +0900 Subject: [PATCH] fix(components): [table]emit "current-change" when currentRowKey changed (#6992) --- packages/components/table/src/store/current.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/table/src/store/current.ts b/packages/components/table/src/store/current.ts index 1a4fa573db..9991d3473f 100644 --- a/packages/components/table/src/store/current.ts +++ b/packages/components/table/src/store/current.ts @@ -29,6 +29,7 @@ function useCurrent(watcherData: WatcherPropsData) { ) } currentRow.value = _currentRow + instance.emit('current-change', currentRow.value, null) } const updateCurrentRow = (_currentRow: T) => {