Browse Source

fix: collapse activeKey deepWatch #4969

pull/4977/head
tangjinzhou 3 years ago
parent
commit
bde57724b7
  1. 1
      components/collapse/Collapse.tsx

1
components/collapse/Collapse.tsx

@ -52,6 +52,7 @@ export default defineComponent({
() => {
stateActiveKey.value = getActiveKeysArray(props.activeKey);
},
{ deep: true },
);
const { prefixCls, direction } = useConfigInject('collapse', props);
const iconPosition = computed(() => {

Loading…
Cancel
Save