<el-image
style="width: calc(100vw - 500px); height: auto"
:src="require('@/assets/1-KV.jpg')"
fit="fill"
></el-image>
主要看src这里
<el-image
style="width: calc(100vw - 500px); height: auto"
:src="require('@/assets/1-KV.jpg')"
fit="fill"
></el-image>
主要看src这里