Skip to content

Commit e235607

Browse files
committed
refine
1 parent b16a8d9 commit e235607

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/ve-table/src/index.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,8 +1815,7 @@ export default {
18151815
// column to visible
18161816
this.columnToVisible(column);
18171817
// row to visible
1818-
this.rowToVisible(KEY_CODES.ARROW_UP, rowKey);
1819-
this.rowToVisible(KEY_CODES.ARROW_DOWN, rowKey);
1818+
this[INSTANCE_METHODS.SCROLL_TO_ROW_KEY]({ rowKey });
18201819
}
18211820
},
18221821

0 commit comments

Comments
 (0)