umicro/uView2.0

弹窗蒙版层级固定问题

Opened this issue · 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch uview-ui@2.0.36 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/uview-ui/components/u-popup/u-popup.vue b/node_modules/uview-ui/components/u-popup/u-popup.vue
index 2ca51cc..ede9a45 100644
--- a/node_modules/uview-ui/components/u-popup/u-popup.vue
+++ b/node_modules/uview-ui/components/u-popup/u-popup.vue
@@ -7,6 +7,7 @@
 			:duration="overlayDuration"
 			:customStyle="overlayStyle"
 			:opacity="overlayOpacity"
+			:zIndex="zIndex-1"
 		></u-overlay>
 		<u-transition
 			:show="show"

This issue body was partially generated by patch-package.