mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2025-10-25 02:09:09 +08:00
修复压缩包内多图连续预览的bug
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user