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"
|
class="main-image"
|
||||||
:src="url"
|
:src="url"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
@click="showZoom = !showZoom"
|
@click.stop.prevent="showZoom = !showZoom"
|
||||||
spinner-color="primary"
|
spinner-color="primary"
|
||||||
:width="props.width"
|
:width="props.width"
|
||||||
:height="props.height"
|
:height="props.height"
|
||||||
|
|
Loading…
Reference in New Issue