修复压缩包内多图连续预览的bug
parent
12e1239267
commit
8783f9059a
|
@ -275,7 +275,7 @@ public class FileHandlerService {
|
||||||
attribute.setUrl(url);
|
attribute.setUrl(url);
|
||||||
if (req != null) {
|
if (req != null) {
|
||||||
String officePreviewType = req.getParameter("officePreviewType");
|
String officePreviewType = req.getParameter("officePreviewType");
|
||||||
String fileKey = req.getParameter("fileKey");
|
String fileKey = WebUtils.getUrlParameterReg(url,"fileKey");
|
||||||
if (StringUtils.hasText(officePreviewType)) {
|
if (StringUtils.hasText(officePreviewType)) {
|
||||||
attribute.setOfficePreviewType(officePreviewType);
|
attribute.setOfficePreviewType(officePreviewType);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue