|
@@ -125,9 +125,9 @@ export const useSubjectCheck = (currentSubject: ComputedRef<Test.QuestionInfo>,
|
|
|
id:currentSubject.value.id,
|
|
|
timestamp:+ new Date()
|
|
|
})
|
|
|
+ window.localStorage.setItem(userWrongKey,JSON.stringify(userWrongIds))
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// if(userWrongIds.some(item=>{
|
|
|
// return item.id === currentSubject.value.id
|
|
|
|
|
@@ -135,8 +135,6 @@ export const useSubjectCheck = (currentSubject: ComputedRef<Test.QuestionInfo>,
|
|
|
// else{
|
|
|
|
|
|
// }
|
|
|
-
|
|
|
- window.localStorage.setItem(userWrongKey, "[]");
|
|
|
//答案错误
|
|
|
// wrongModel.adds([
|
|
|
// {
|