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