From 02bf7e857bc12fa7e79f354f056a8bb40457caa4 Mon Sep 17 00:00:00 2001 From: rex Date: Wed, 3 Jun 2020 11:08:34 +0800 Subject: [PATCH] fix(uploader): avoid emit click-preview event in delete event (#3230) fix #3216 --- packages/uploader/index.wxml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/uploader/index.wxml b/packages/uploader/index.wxml index 9abcf47bc..09f76563d 100644 --- a/packages/uploader/index.wxml +++ b/packages/uploader/index.wxml @@ -42,7 +42,7 @@ name="clear" class="van-uploader__preview-delete" data-index="{{ index }}" - bind:tap="deleteItem" + catch:tap="deleteItem" />