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 children = [];
this.$props.children.forEach(c => {
if (c && !c.disabled && c.disabled !== '') {
if (c && !c.props?.disabled && c.props?.disabled !== '') {
if (next) {
children.push(c);
} else {

Loading…
Cancel
Save