feat: solutions/aida

This commit is contained in:
2026-05-15 16:41:52 +08:00
parent 99af8da607
commit 5158b63ddd
12 changed files with 913 additions and 154 deletions

View File

@@ -33,7 +33,7 @@ export default {
rootMap.set(obj.root, [obj])
obj.root.addEventListener('scroll', handleScroll)
},
beforeUnmount(el: HTMLElement, binding: any) {
beforeUnmount(el: HTMLElement) {
rootMap.forEach((objs, root) => {
if (objs.some((v: any) => v.el === el)) {
objs = objs.filter((v_: any) => v_.el !== el)
@@ -60,4 +60,4 @@ function handleScroll(e: any) {
obj.el.classList.toggle('active', isActive)
}
})
};
};