✨(component): 🐛(component): update
This commit is contained in:
parent
9d72d62734
commit
1abea59297
@ -197,10 +197,7 @@ onMounted(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
scrollTarget.value?.removeEventListener(
|
scrollTarget.value?.removeEventListener("scroll", callback);
|
||||||
"scroll",
|
|
||||||
callback
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user