Skip to content

Commit 5495ad8

Browse files
committed
fix: disabled tabPane can be actived vueComponent#3575
1 parent 22c81f9 commit 5495ad8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-tabs/src/Tabs.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default defineComponent({
146146
const activeKey = this.state._activeKey;
147147
const children = [];
148148
this.$props.children.forEach(c => {
149-
if (c && !c.disabled && c.disabled !== '') {
149+
if (c && !c.props?.disabled && c.props?.disabled !== '') {
150150
if (next) {
151151
children.push(c);
152152
} else {

0 commit comments

Comments
 (0)