mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 02:08:12 +08:00
fix(components): [cascader] reactive prop collapse-tags (#17449)
feat(components): [cascader] reactive prop `collapse-tags`
This commit is contained in:
parent
2c0b196fef
commit
cd3d58f07c
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user