Browse Source

Merge branch 'next' of github.com:vueComponent/ant-design-vue into next

pull/3598/head
tangjinzhou 4 years ago
parent
commit
a72db912f7
  1. 2
      components/vc-tabs/src/Tabs.jsx

2
components/vc-tabs/src/Tabs.jsx

@ -146,7 +146,7 @@ export default defineComponent({
const activeKey = this.state._activeKey; const activeKey = this.state._activeKey;
const children = []; const children = [];
this.$props.children.forEach(c => { this.$props.children.forEach(c => {
if (c && !c.disabled && c.disabled !== '') { if (c && !c.props?.disabled && c.props?.disabled !== '') {
if (next) { if (next) {
children.push(c); children.push(c);
} else { } else {

Loading…
Cancel
Save