mp-painter:getImageOriginSize: fail, use default size: width = 100, height = 100
auven opened this issue · comments
张剑™ commented
问题描述
使用 base64 的图片会渲染异常,没办法一整个图片渲染,只渲染了 100x100
期望的结果
base64渲染正常
复现步骤
{
position: 'absolute',
top: 0,
left: 0,
type: 'image',
src: require('@/static/logo.png'),
width: 70,
height: 70,
objectFit: 'contain'
}
使用的环境:微信开发者工具和真机都会,h5端正常