File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2055,10 +2055,11 @@ export default {
2055
2055
// set scrolling
2056
2056
setScrolling ( tableContainerRef ) {
2057
2057
if ( this . hasFixedColumn ) {
2058
- const { scrollWidth, clientWidth, scrollLeft } =
2059
- tableContainerRef ;
2060
- const { previewTableContainerScrollLeft : previewScrollLeft } =
2061
- this ;
2058
+ const { scrollWidth, clientWidth, scrollLeft } =
2059
+ tableContainerRef ;
2060
+
2061
+ const { previewTableContainerScrollLeft : previewScrollLeft } =
2062
+ this ;
2062
2063
2063
2064
// 仅横向滚动需要处理
2064
2065
if (
@@ -2076,8 +2077,8 @@ export default {
2076
2077
}
2077
2078
2078
2079
if ( this . fixedHeader ) {
2079
- const { scrollTop } = tableContainerRef ;
2080
- this . isVerticalScrolling = scrollTop > 0 ;
2080
+ const { scrollTop } = tableContainerRef ;
2081
+ this . isVerticalScrolling = scrollTop > 0 ;
2081
2082
}
2082
2083
} ,
2083
2084
You can’t perform that action at this time.
0 commit comments