File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1123,7 +1123,7 @@ async function start() {
1123
1123
1124
1124
//检查视频
1125
1125
let temp = parseInt ( taskProgress [ 1 ] . dayMaxScore - taskProgress [ 1 ] . currentScore ) ;
1126
- let temp2 = parseInt ( taskProgress [ 3 ] . dayMaxScore - taskProgress [ 3 ] . currentScore ) ;
1126
+ let temp2 = parseInt ( taskProgress [ 2 ] . dayMaxScore - taskProgress [ 2 ] . currentScore ) ;
1127
1127
if ( settings . Video && ( temp != 0 || temp2 != 0 ) ) {
1128
1128
tasks [ 1 ] = false ; //只要还有要做的,就当做没完成
1129
1129
videoNum = temp > temp2 ? temp : temp2 ; //还需要看多少个视频
@@ -1134,14 +1134,15 @@ async function start() {
1134
1134
}
1135
1135
1136
1136
//检查每日答题
1137
- if ( settings . ExamPractice && taskProgress [ 6 ] . currentScore != taskProgress [ 6 ] . dayMaxScore ) {
1137
+ if ( settings . ExamPractice && taskProgress [ 5 ] . currentScore != taskProgress [ 5 ] . dayMaxScore ) {
1138
1138
tasks [ 2 ] = false ; //只要还有要做的,就当做没完成
1139
1139
console . log ( "3.做每日答题" ) ;
1140
1140
await doExamPractice ( ) ;
1141
1141
} else {
1142
1142
tasks [ 2 ] = true ;
1143
1143
}
1144
-
1144
+ tasks [ 3 ] = true
1145
+ /*
1145
1146
//检查每周答题
1146
1147
if (settings.ExamWeekly && taskProgress[2].currentScore == 0) {
1147
1148
tasks[3] = false;//只要还有要做的,就当做没完成
@@ -1153,10 +1154,10 @@ async function start() {
1153
1154
}
1154
1155
} else {
1155
1156
tasks[3] = true;
1156
- }
1157
+ }*/
1157
1158
1158
1159
//检查专项练习
1159
- if ( settings . ExamPaper && taskProgress [ 5 ] . currentScore == 0 ) {
1160
+ if ( settings . ExamPaper && taskProgress [ 4 ] . currentScore == 0 ) {
1160
1161
tasks [ 4 ] = false ; //只要还有要做的,就当做没完成
1161
1162
console . log ( "5.做专项练习" ) ;
1162
1163
let result = await doExamPaper ( ) ;
@@ -1185,7 +1186,7 @@ async function start() {
1185
1186
showMenu ( )
1186
1187
}
1187
1188
} else {
1188
- //提醒登录
1189
+ //提醒登录
1189
1190
// alert("请先登录");
1190
1191
1191
1192
//修改为跳转到登陆页
You can’t perform that action at this time.
0 commit comments