「Vue」v-html生成的图片大小无法调整的解决办法

问题:

v-html生成的图片调整大小属性没用
<div class="content" v-html="pdinfo.content"></div>
<style lang="scss" scoped>
.pddescribe-row{
margin: 0 5px;
h3{
font-size: 16px;
text-align: center;
}
img{
100%;
height: 100%;
}
}
</style>
解决办法:
去掉scoped即可,具体原因不详

原文地址:https://www.cnblogs.com/wrxblog/p/10499693.html