|
@@ -246,12 +246,17 @@ async function enterExam() {
|
|
|
{
|
|
|
"axios-retry": { retries: 4 },
|
|
|
noErrorMessage: true,
|
|
|
- headers: { timestamp, "Content-Type": "text/plain" },
|
|
|
+ headers: {
|
|
|
+ timestamp,
|
|
|
+ "Content-Type": "text/plain",
|
|
|
+ accept: "text/plain",
|
|
|
+ },
|
|
|
+ responseType: "text",
|
|
|
+ transitional: { forcedJSONParsing: false },
|
|
|
}
|
|
|
);
|
|
|
|
|
|
res.data = doDec(res.data, key);
|
|
|
- // console.log(res.data);
|
|
|
const newRes: {
|
|
|
courseName: string;
|
|
|
examRecordDataId: number;
|