fix: 评论回复多张图片拉伸
This commit is contained in:
@ -797,8 +797,7 @@ InlineSpan buildContent(
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
if (len > 1) {
|
||||
} else if (len > 1) {
|
||||
List<Widget> list = [];
|
||||
for (var i = 0; i < len; i++) {
|
||||
picList.add(content.pictures[i]['img_src']);
|
||||
@ -819,7 +818,8 @@ InlineSpan buildContent(
|
||||
src: content.pictures[i]['img_src'],
|
||||
width: box.maxWidth,
|
||||
height: box.maxWidth,
|
||||
),
|
||||
origAspectRatio: content.pictures[i]['img_width'] /
|
||||
content.pictures[i]['img_height']),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user