feat(遮罩层组件): ,加上了阻止触摸的事件,解决后面主页跟着滑动的问题

This commit is contained in:
hzj 2025-12-18 16:51:58 +08:00
parent 92dbb014fd
commit fe87ac9010

View File

@ -9,8 +9,9 @@
inset: 0;
z-index: 999;
"
@touchmove.prevent
>
<div style="position: absolute; inset: 0; overflow-y: auto">
<div style="position: absolute; inset: 0; overflow-y: auto" @touchmove.stop>
<slot></slot>
</div>
</div>