修复:addTask异常

This commit is contained in:
陈精华
2020-04-14 11:17:07 +08:00
committed by kl
parent 2144b776b1
commit e0b1cd76ca
7 changed files with 26 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ public class PictureFilePreviewImpl implements FilePreview {
@Override
public String filePreviewHandle(String url, Model model, FileAttribute fileAttribute) {
String fileKey=(String) RequestContextHolder.currentRequestAttributes().getAttribute("fileKey",0);
String fileKey = (String) RequestContextHolder.currentRequestAttributes().getAttribute("fileKey",0);
List imgUrls = Lists.newArrayList(url);
try{
imgUrls.clear();