File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import BaseMixin from '../../_util/BaseMixin';
3
3
import PropTypes from '../../_util/vue-types' ;
4
4
import raf from 'raf' ;
5
5
import KeyCode from './KeyCode' ;
6
- import { getOptionProps , getListeners } from '../../_util/props-util' ;
6
+ import { getOptionProps , getListeners , getValueByProp } from '../../_util/props-util' ;
7
7
import { cloneElement } from '../../_util/vnode' ;
8
8
import Sentinel from './Sentinel' ;
9
9
import isValid from '../../_util/isValid' ;
@@ -154,7 +154,8 @@ export default {
154
154
const activeKey = this . $data . _activeKey ;
155
155
const children = [ ] ;
156
156
this . $props . children . forEach ( c => {
157
- if ( c && ! c . disabled && c . disabled !== '' ) {
157
+ const disabled = getValueByProp ( c , 'disabled' ) ;
158
+ if ( c && ! disabled && disabled !== '' ) {
158
159
if ( next ) {
159
160
children . push ( c ) ;
160
161
} else {
You can’t perform that action at this time.
0 commit comments