mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] Overlay: render performance (#869)
This commit is contained in:
parent
a1e8616e15
commit
dcc7396b06
@ -1,6 +1,7 @@
|
||||
<van-overlay
|
||||
wx:if="{{ inited && overlay }}"
|
||||
mask
|
||||
show="{{ overlay && show }}"
|
||||
show="{{ show }}"
|
||||
z-index="{{ zIndex }}"
|
||||
custom-style="{{ overlayStyle }}"
|
||||
bind:click="onClickOverlay"
|
||||
|
@ -1,5 +1,6 @@
|
||||
<van-overlay
|
||||
show="{{ show && (mask || forbidClick) }}"
|
||||
wx:if="{{ mask || forbidClick }}"
|
||||
show="{{ show }}"
|
||||
mask="{{ mask }}"
|
||||
z-index="{{ zIndex }}"
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user