fix(NoticeBar): catch tap event of close icon (#2281)

fix #2246
This commit is contained in:
rex 2019-11-12 09:56:29 +08:00 committed by GitHub
parent 27b6017abe
commit 13b05cfa9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@
wx:if="{{ mode === 'closeable' }}"
class="van-notice-bar__right-icon"
name="cross"
bind:tap="onClickIcon"
catch:tap="onClickIcon"
/>
<navigator
wx:elif="{{ mode === 'link' }}"