File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2170
2170
recurTree : function recurTree ( node ) {
2171
2171
var _this8 = this ;
2172
2172
2173
- if ( this . checkStrictly || ! this . showCheckbox ) {
2174
- this . getCheckedValue ( node ) ;
2173
+ if ( node . isSelected ( ) || node . isChecked ( ) || this . hasHalfelEction && node . isPartialSelected ( ) ) {
2174
+ if ( this . checkStrictly || ! this . showCheckbox ) {
2175
+ this . getCheckedValue ( node ) ;
2176
+ } else {
2177
+ this . refreshNode ( node ) ; // 现在改为了 先下刷新 再向上刷新
2178
+ }
2179
+ } else {
2175
2180
node . children && node . children . forEach ( function ( child ) {
2176
2181
return _this8 . recurTree ( child ) ;
2177
2182
} ) ;
2178
- } else {
2179
- this . refreshNode ( node ) ;
2180
2183
}
2181
2184
} ,
2182
2185
refreshExpandedDown : function refreshExpandedDown ( node ) {
Original file line number Diff line number Diff line change 90
90
width : 100% ;
91
91
position : relative;
92
92
display : flex;
93
- align-items : center;
94
- overflow-y : hidden;
95
93
padding-left : 22px ;
96
94
}
97
95
.vue-tree .child-node .node-content .icon {
You can’t perform that action at this time.
0 commit comments