Merge pull request #3733 from 343max/image-close
close image preview when user clicks outside the image
This commit is contained in:
commit
14b9b81ffe
|
@ -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