vue子元素滚动影响父元素
v身体滚动锁 (v-body-scroll-lock)
A Vue directive to lock the body from scrolling without stopping the target element from scrolling. Uses the body-scroll-lock library (https://github.com/willmcpo/body-scroll-lock). Works on mobile and tablet (iOS, Android) and desktop (Chrome, Firefox, Safari).
一个Vue指令,用于锁定主体以防止其滚动而不停止目标元素的滚动。 使用body-scroll-lock库( https://github.com/willmcpo/body-scroll-lock )。 适用于移动设备和平板电脑(iOS,Android)和台式机(Chrome,Firefox,Safari)。