From b0b4605da15077c33ba006334890abf0a75e2dce Mon Sep 17 00:00:00 2001 From: mrayi <1078464063@qq.com> Date: Fri, 15 Mar 2024 16:23:15 +0800 Subject: [PATCH] fix(uploader): add stop on delete event (#2971) close #2954 --- src/packages/__VUE/uploader/index.taro.vue | 2 +- src/packages/__VUE/uploader/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/__VUE/uploader/index.taro.vue b/src/packages/__VUE/uploader/index.taro.vue index 03db791297..a716374414 100644 --- a/src/packages/__VUE/uploader/index.taro.vue +++ b/src/packages/__VUE/uploader/index.taro.vue @@ -43,7 +43,7 @@ v-if="isDeletable" color="#808080" class="nut-uploader__preview-img__file__del" - @click="onDelete(item, index)" + @click.stop="onDelete(item, index)" > diff --git a/src/packages/__VUE/uploader/index.vue b/src/packages/__VUE/uploader/index.vue index faf96c348f..7ce1f01cbe 100644 --- a/src/packages/__VUE/uploader/index.vue +++ b/src/packages/__VUE/uploader/index.vue @@ -42,7 +42,7 @@ v-if="isDeletable" color="#808080" class="nut-uploader__preview-img__file__del" - @click="onDelete(item, index)" + @click.stop="onDelete(item, index)" >