File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 21702170 recurTree : function recurTree ( node ) {
21712171 var _this8 = this ;
21722172
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 {
21752180 node . children && node . children . forEach ( function ( child ) {
21762181 return _this8 . recurTree ( child ) ;
21772182 } ) ;
2178- } else {
2179- this . refreshNode ( node ) ;
21802183 }
21812184 } ,
21822185 refreshExpandedDown : function refreshExpandedDown ( node ) {
Original file line number Diff line number Diff line change 9090 width : 100% ;
9191 position : relative;
9292 display : flex;
93- align-items : center;
94- overflow-y : hidden;
9593 padding-left : 22px ;
9694}
9795.vue-tree .child-node .node-content .icon {
You can’t perform that action at this time.
0 commit comments