|
@@ -213,6 +213,7 @@ export default {
|
|
// Object.entries(this.modalForm).forEach(([key, val]) => {
|
|
// Object.entries(this.modalForm).forEach(([key, val]) => {
|
|
// if (val !== null) formData.append(key, val);
|
|
// if (val !== null) formData.append(key, val);
|
|
// });
|
|
// });
|
|
|
|
+ formData.append("courseId", this.modalForm.courseId);
|
|
formData.append("file", this.fileData.file);
|
|
formData.append("file", this.fileData.file);
|
|
|
|
|
|
const res = await questionImportFileUpload(formData, {
|
|
const res = await questionImportFileUpload(formData, {
|