|
@@ -939,6 +939,9 @@ export default {
|
|
var file = fileList[i];
|
|
var file = fileList[i];
|
|
param.append("dataFile", file, file.name);
|
|
param.append("dataFile", file, file.name);
|
|
}
|
|
}
|
|
|
|
+ let config = {
|
|
|
|
+ headers: { "Content-Type": "multipart/form-data" },
|
|
|
|
+ };
|
|
this.uploadAnswerLoading = true;
|
|
this.uploadAnswerLoading = true;
|
|
this.$http
|
|
this.$http
|
|
.post(QUESTION_API + "/paper/answer/import/" + this.paperId, param)
|
|
.post(QUESTION_API + "/paper/answer/import/" + this.paperId, param)
|