close image preview when user clicks outside the image
This commit is contained in:
parent
caa664f312
commit
89c13a1119
|
@ -7,7 +7,7 @@
|
||||||
<font-awesome-icon icon="xmark" />
|
<font-awesome-icon icon="xmark" />
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-content" role="presentation">
|
<div class="image-content" role="presentation" @click.self="close">
|
||||||
<span class="button-area"
|
<span class="button-area"
|
||||||
><el-button type="text" v-show="showLeft" @click="decrementIndex()"> <font-awesome-icon icon="angle-left" /> </el-button
|
><el-button type="text" v-show="showLeft" @click="decrementIndex()"> <font-awesome-icon icon="angle-left" /> </el-button
|
||||||
></span>
|
></span>
|
||||||
|
|
Loading…
Reference in New Issue