<template>
	<el-image v-loading="loading" :src="src" :fit="fit" @load="loading=false;" @error="loading=false"></el-image>
</template>

<script>
	export default {
		name: "st-image",
		props:{
			src : String ,
			fit : String
		},
		data() {
			return {
				loading : true
			}
		},
		methods: {}
	}
</script>