Skip to content

Commit 009634b

Browse files
authored
fix(toast): toast与Overlay消失的时候有时间差 (#4103)
1 parent f739694 commit 009634b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/toast/toast.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</view>
3030
<t-overlay
3131
style="{{ overlayProps && overlayProps.style || ''}}"
32-
visible="{{realVisible && (showOverlay || preventScrollThrough)}}"
32+
visible="{{visible && (showOverlay || preventScrollThrough)}}"
3333
z-index="{{overlayProps && overlayProps.zIndex || 11000}}"
3434
duration="{{overlayProps && overlayProps.duration || 300}}"
3535
usingCustomNavbar="{{overlayProps && overlayProps.usingCustomNavbar || usingCustomNavbar}}"

0 commit comments

Comments
 (0)