mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
fix(ui测试): 修复UI场景批量执行时报错问题
--bug=1023277 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001023277
This commit is contained in:
parent
46aa5c9ff2
commit
e21ba009fd
@ -252,7 +252,8 @@ public class FileMetadataService {
|
||||
request.setUpdateTime(fileMetadata.getUpdateTime());
|
||||
bytes = fileManagerService.downloadFile(request);
|
||||
}
|
||||
return bytes;
|
||||
|
||||
return Objects.requireNonNullElseGet(bytes, () -> new byte[0]);
|
||||
}
|
||||
|
||||
public ResponseEntity<byte[]> getFile(String fileId) {
|
||||
|
Loading…
Reference in New Issue
Block a user