diff --git a/src/components/ui/VnImg.vue b/src/components/ui/VnImg.vue index 132c1431..6a459020 100644 --- a/src/components/ui/VnImg.vue +++ b/src/components/ui/VnImg.vue @@ -93,7 +93,7 @@ const url = computed(() => { class="main-image" :src="url" v-bind="$attrs" - @click="showZoom = !showZoom" + @click.stop.prevent="showZoom = !showZoom" spinner-color="primary" :width="props.width" :height="props.height"