delete some unnecessary code
This commit is contained in:
@@ -52,11 +52,6 @@ const floating = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMounted(floating)
|
onMounted(floating)
|
||||||
onMounted(() => {
|
|
||||||
const main = document.getElementById('main')
|
|
||||||
|
|
||||||
main.addEventListener('scroll', e => floating())
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user