fix(components): [cascader] reactive prop collapse-tags (#17449)

feat(components): [cascader] reactive prop `collapse-tags`
This commit is contained in:
ntnyq
2024-07-19 14:57:57 +08:00
committed by GitHub
parent 2c0b196fef
commit cd3d58f07c

View File

@@ -682,7 +682,10 @@ const getInputInnerHeight = (inputInner: HTMLElement): number =>
watch(filtering, updatePopperPosition)
watch([checkedNodes, isDisabled], calculatePresentTags)
watch(
[checkedNodes, isDisabled, () => props.collapseTags],
calculatePresentTags
)
watch(presentTags, () => {
nextTick(() => updateStyle())