|
@@ -236,7 +236,7 @@ public class FtpFileUtil {
|
|
|
ByteArrayOutputStream stream = new ByteArrayOutputStream();
|
|
|
IOUtils.copy(inputStream,stream);
|
|
|
String imgStr = Base64.getEncoder().encodeToString(stream.toByteArray());
|
|
|
- data = "<img src=" + "\"data:image/"+suffixName+";base64," + imgStr + "\"" + "/>";
|
|
|
+ data = "<img style='width:100%' src=" + "\"data:image/"+suffixName+";base64," + imgStr + "\"" + "/>";
|
|
|
stream.close();break;
|
|
|
case "txt" :
|
|
|
ByteArrayOutputStream txtStream = new ByteArrayOutputStream();
|