diff --git a/src/composables/useScrollLock.ts b/src/composables/useScrollLock.ts index 46f9c627..31f34056 100644 --- a/src/composables/useScrollLock.ts +++ b/src/composables/useScrollLock.ts @@ -238,6 +238,7 @@ export function useScrollLock(options: ScrollLockOptions = {}) { // 否则阻止滚动 event.preventDefault() + event.stopPropagation() } }