Skip to content

Commit bde5772

Browse files
committed
fix: collapse activeKey deepWatch #4969
1 parent eea3fe9 commit bde5772

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/collapse/Collapse.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export default defineComponent({
5252
() => {
5353
stateActiveKey.value = getActiveKeysArray(props.activeKey);
5454
},
55+
{ deep: true },
5556
);
5657
const { prefixCls, direction } = useConfigInject('collapse', props);
5758
const iconPosition = computed(() => {

0 commit comments

Comments
 (0)