Skip to content

Commit 754c220

Browse files
committed
fix: ie table scroll not work #390
1 parent c924f4c commit 754c220

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/vc-table/src/Table.jsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,11 @@ export default {
373373
event.preventDefault();
374374
const wd = event.deltaY;
375375
const target = event.target;
376-
const { bodyTable, fixedColumnsBodyLeft, fixedColumnsBodyRight } = this;
376+
const {
377+
ref_bodyTable: bodyTable,
378+
ref_fixedColumnsBodyLeft: fixedColumnsBodyLeft,
379+
ref_fixedColumnsBodyRight: fixedColumnsBodyRight,
380+
} = this;
377381
let scrollTop = 0;
378382

379383
if (this.lastScrollTop) {

0 commit comments

Comments
 (0)