From 13b05cfa9c69908272c20afa69e9231539dfa19a Mon Sep 17 00:00:00 2001 From: rex Date: Tue, 12 Nov 2019 09:56:29 +0800 Subject: [PATCH] fix(NoticeBar): catch tap event of close icon (#2281) fix #2246 --- packages/notice-bar/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/notice-bar/index.wxml b/packages/notice-bar/index.wxml index 38b7bc00..eb0851c3 100644 --- a/packages/notice-bar/index.wxml +++ b/packages/notice-bar/index.wxml @@ -24,7 +24,7 @@ wx:if="{{ mode === 'closeable' }}" class="van-notice-bar__right-icon" name="cross" - bind:tap="onClickIcon" + catch:tap="onClickIcon" />