VnImg prevent other events when clicking image
This commit is contained in:
parent
2b41bc31c1
commit
f8e67f0d98
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue