|
@@ -106,7 +106,8 @@ export async function saveTask() {
|
|
|
if (markResult) {
|
|
|
markResult.specialTagList = [];
|
|
|
markResult.problem = false;
|
|
|
- markResult.spent = Date.now() - markResult.spent;
|
|
|
+ if (markResult.spent > 24 * 60 * 60 * 1000)
|
|
|
+ markResult.spent = Date.now() - markResult.spent;
|
|
|
|
|
|
return httpApp.post("/mark/saveTask", markResult);
|
|
|
}
|