Commit d818db6 1 parent b48359c commit d818db6 Copy full SHA for d818db6
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ export default function tree(BaseComponent) {
97
97
item . __level = level ;
98
98
99
99
if ( level === 0 || openRowKeys . indexOf ( parentId ) > - 1 ) {
100
- item . hidden = false ;
100
+ item . __hidden = false ;
101
101
} else {
102
- item . hidden = true ;
102
+ item . __hidden = true ;
103
103
}
104
104
ret . push ( item ) ;
105
105
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ export default function virtual(BaseComponent) {
131
131
}
132
132
let count = 0 ;
133
133
dataSource . forEach ( item => {
134
- if ( ! item . hidden ) {
134
+ if ( ! item . __hidden ) {
135
135
count += 1 ;
136
136
}
137
137
} ) ;
@@ -274,7 +274,7 @@ export default function virtual(BaseComponent) {
274
274
const { start, end } = this . getVisibleRange ( this . state . scrollToRow ) ;
275
275
let count = - 1 ;
276
276
dataSource . forEach ( ( current , index , record ) => {
277
- if ( ! current . hidden ) {
277
+ if ( ! current . __hidden ) {
278
278
count += 1 ;
279
279
if ( count >= Math . max ( start - THRESHOLD , 0 ) && count < end ) {
280
280
newDataSource . push ( current ) ;
You can’t perform that action at this time.
0 commit comments