File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ function delegateAndEmit(evtName) {
40
40
} ;
41
41
}
42
42
43
- const isTransitionName = ( name ) => [ "transition-group" , "TransitionGroup" ] . includes ( name ) ;
43
+ function isTransitionName ( name ) {
44
+ return [ "transition-group" , "TransitionGroup" ] . includes ( name ) ;
45
+ }
44
46
45
47
function isTransition ( slots ) {
46
48
if ( ! slots || slots . length !== 1 ) {
@@ -301,13 +303,13 @@ const draggableComponent = {
301
303
return { index, element } ;
302
304
} ,
303
305
304
- getUnderlyingPotencialDraggableComponent ( { __vue__ : vue } ) {
306
+ getUnderlyingPotencialDraggableComponent ( { __vue__ : vue } ) {
305
307
if (
306
308
! vue ||
307
309
! vue . $options ||
308
310
! isTransitionName ( vue . $options . _componentTag )
309
311
) {
310
- if ( ! ( "realList" in vue ) && ( vue . $children . length === 1 ) && ( "realList" in vue . $children [ 0 ] ) )
312
+ if ( ! ( "realList" in vue ) && ( vue . $children . length === 1 ) && ( "realList" in vue . $children [ 0 ] ) )
311
313
return vue . $children [ 0 ] ;
312
314
313
315
return vue ;
You can’t perform that action at this time.
0 commit comments