Skip to content

Commit

Permalink
fix: v-loading trigger the click event of the current element
Browse files Browse the repository at this point in the history
  • Loading branch information
wangdaodao committed Sep 13, 2024
1 parent c345bb4 commit 2733695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/loading/src/loading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
v-show="visible"
class="el-loading-mask"
:style="{ backgroundColor: background || '' }"
:class="[customClass, { 'is-fullscreen': fullscreen }]">
:class="[customClass, { 'is-fullscreen': fullscreen }]"
@click.stop="(e) => e.stopPropagation()">
<div class="el-loading-spinner">
<svg v-if="!spinner" class="circular" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none"/>
Expand Down

0 comments on commit 2733695

Please sign in to comment.