Skip to content

Commit

Permalink
fix(uploader): add stop on delete event (jd-opensource#2971)
Browse files Browse the repository at this point in the history
  • Loading branch information
subordon authored Mar 15, 2024
1 parent 8fb9cc3 commit b0b4605
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/packages/__VUE/uploader/index.taro.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
></Del>
</view>

Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/uploader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
></Del>
</view>

Expand Down

0 comments on commit b0b4605

Please sign in to comment.