fix: 修复刷课判断错误
This commit is contained in:
@@ -214,7 +214,7 @@ export const runStudyQueue = async (_payload: StudyRunnerPayload) => {
|
||||
study_time: String(currentTime),
|
||||
status: count === 0 ? 1 : currentTime >= total ? 3 : 2,
|
||||
});
|
||||
if (!resp.data.state) {
|
||||
if (resp.data.state != 0) {
|
||||
_payload.onLog?.(`⛔ 自动停止: ${resp.data.msg}`, _payload.accountId);
|
||||
_payload.setIsRunningStudy();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user