Skip to content

Commit

Permalink
fix(drawer): resolve destroyOnClose error (#1864)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmywang authored Apr 3, 2023
1 parent 65bac2c commit 9ae39a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawer/drawer.wxml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<wxs src="../common/utils.wxs" module="_" />

<t-popup
wx:if="{{!destroyOnClose || visible}}"
style="{{_._style([style, customStyle])}}"
class="class"
bind:visible-change="visibleChange"
visible="{{visible}}"
zIndex="{{zIndex}}"
placement="{{placement == 'right' ? 'right' : 'left'}}"
showOverlay="{{showOverlay}}"
destroyOnClose="{{destroyOnClose}}"
closeOnOverlayClick="{{closeOnOverlayClick}}"
>
<view class="{{classPrefix}}">
Expand Down

0 comments on commit 9ae39a8

Please sign in to comment.