Skip to content

Commit 4a20c32

Browse files
CodeListenersxzz
andauthored
fix(components): [affix] expose updateRoot (element-plus#9159)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
1 parent 1ffb9c2 commit 4a20c32

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/components/affix/src/affix.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,7 @@ watchEffect(update)
126126
defineExpose({
127127
/** @description update affix status */
128128
update,
129+
/** @description update rootRect info */
130+
updateRoot,
129131
})
130132
</script>

0 commit comments

Comments
 (0)