refactor:图片修改为自适应,不保持宽高比例

This commit is contained in:
wangjiahao 2021-08-05 13:47:48 +08:00
parent 4b71d5e81d
commit ad42815ca2

View File

@ -1,5 +1,5 @@
<template> <template>
<div style="overflow: hidden"> <div style="overflow: hidden;width: 100%;height: 100%;">
<img :src="propValue"> <img :src="propValue">
</div> </div>
</template> </template>