You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
466 B

<template>
<el-dialog width="40%" :visible.sync="visible" :before-close="handleClose">
<img class="full-img" :src="url" />
</el-dialog>
</template>
<script>
export default {
name: "fullImage",
data() {
return {
}
},
methods: {
handleClose() {
this.$emit("close");
}
},
props: {
visible: {
type: Boolean
},
url: {
type: String
}
}
}
</script>
<style>
.full-img {
width: 100%;
height: 100%;
}
</style>