File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 138
138
139
139
// virtual scroll phantom
140
140
.ve-table-virtual-phantom {
141
- position : absolute ;
142
- left : 0 ;
143
- top : 0 ;
144
- right : 0 ;
145
- z-index : @ve-virtual-phantom-index ;
141
+ & .ve-table-virtual-scroll {
142
+ position : absolute ;
143
+ left : 0 ;
144
+ top : 0 ;
145
+ right : 0 ;
146
+ z-index : @ve-virtual-phantom-index ;
147
+ }
146
148
}
147
149
148
150
// 固定列效果
Original file line number Diff line number Diff line change @@ -763,10 +763,9 @@ export default {
763
763
2、
764
764
has left fixed column and expand option(resolve expand row content sticky)
765
765
*/
766
- if (
767
- this . isVirtualScroll ||
768
- ( this . hasLeftFixedColumn && this . expandOption )
769
- ) {
766
+ const { isVirtualScroll, hasLeftFixedColumn, expandOption } = this ;
767
+
768
+ if ( isVirtualScroll || ( hasLeftFixedColumn && expandOption ) ) {
770
769
const props = {
771
770
props : {
772
771
tagName : "div"
@@ -786,7 +785,10 @@ export default {
786
785
content = (
787
786
< div
788
787
ref = { this . virtualPhantomRef }
789
- class = { clsName ( "virtual-phantom" ) }
788
+ class = { [
789
+ clsName ( "virtual-phantom" ) ,
790
+ isVirtualScroll ? clsName ( "virtual-scroll" ) : ""
791
+ ] }
790
792
>
791
793
< VueDomResizeObserver { ...props } />
792
794
</ div >
You can’t perform that action at this time.
0 commit comments