|
@@ -151,6 +151,11 @@ export async function doProblemType(problemId: number) {
|
|
|
if (markResult) {
|
|
|
markResult.problem = true;
|
|
|
markResult.problemTypeId = problemId;
|
|
|
+ // @ts-ignore FIXME: should allow null
|
|
|
+ markResult.markerScore = null;
|
|
|
+ markResult.scoreList = [];
|
|
|
+ markResult.specialTagList = [];
|
|
|
+ markResult.trackList = [];
|
|
|
|
|
|
if (markResult.spent > 24 * 60 * 60 * 1000)
|
|
|
markResult.spent = Date.now() - markResult.spent;
|