Commit 7bf9d401 authored by 王玉鑫's avatar 王玉鑫

fix: 图片点击事件修正

parent d56fe057
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<template> <template>
<ElImage :src="src" @click="handleClick"> <ElImage :src="src" @click="handleClick">
<template #placeholder> <template #placeholder>
<img class="h-full w-full" :src="currentdefault" @click.stop="handleClick" /> <img class="h-full w-full" :src="currentdefault" @click="handleClick" />
</template> </template>
<template #error> <template #error>
<img class="h-full w-full" :src="currentdefault" @click.stop="handleClick" /> <img class="h-full w-full" :src="currentdefault" @click="handleClick" />
</template> </template>
</ElImage> </ElImage>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment