Skip to content

Commit d15d78b

Browse files
committed
🚸 调整触发dom
1 parent 00fdcc7 commit d15d78b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/viewPost/tp-image.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<template>
2-
<div class="tp-image-box" @click="showOverlay = true" v-if="localUrl !== undefined">
3-
<img :src="localUrl" :alt="props.data.insert.image" :title="getImageTitle()" />
2+
<div class="tp-image-box" v-if="localUrl !== undefined">
3+
<img
4+
:src="localUrl"
5+
@click="showOverlay = true"
6+
:alt="props.data.insert.image"
7+
:title="getImageTitle()"
8+
/>
49
<div
510
class="act"
611
@click.stop="showOri = true"

0 commit comments

Comments
 (0)