"加入是否启用缓存配置项"后,excel转成的html文件不再转换编码,修复因此出现的乱码问题
parent
affd5b3057
commit
ba57dedebb
|
@ -69,11 +69,11 @@ public class OfficeFilePreviewImpl implements FilePreview {
|
|||
if (f.exists()) {
|
||||
f.delete();
|
||||
}
|
||||
if (ConfigConstants.isCacheEnabled()) {
|
||||
if (isHtml) {
|
||||
// 对转换后的文件进行操作(改变编码方式)
|
||||
fileUtils.doActionConvertedFile(outFilePath);
|
||||
}
|
||||
if (ConfigConstants.isCacheEnabled()) {
|
||||
// 加入缓存
|
||||
fileUtils.addConvertedFile(pdfName, fileUtils.getRelativePath(outFilePath));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue