VnImg prevent other events when clicking image

This commit is contained in:
William Buezas 2024-09-16 13:32:17 -03:00
parent 2b41bc31c1
commit f8e67f0d98
1 changed files with 1 additions and 1 deletions

View File

@ -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"