fix(测试跟踪): 修复上传的文件为空时异常
This commit is contained in:
parent
f32b6b530b
commit
c64f5847f8
|
@ -273,6 +273,8 @@ public class TestCaseService {
|
|||
.map(TestCase::getName)
|
||||
.collect(Collectors.toSet());
|
||||
List<ExcelErrData<TestCaseExcelData>> errList = null;
|
||||
if(multipartFile == null )
|
||||
MSException.throwException(Translator.get("upload_fail"));
|
||||
|
||||
if (multipartFile.getOriginalFilename().endsWith(".xmind")) {
|
||||
try {
|
||||
|
|
|
@ -65,7 +65,6 @@ export default {
|
|||
},
|
||||
|
||||
mounted() {
|
||||
console.log(this.response.headers);
|
||||
if (!this.response.headers) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue