Commit ae6075a1 authored by qinhaitao's avatar qinhaitao

fix: 🐛 永久次数

parent 666970f1
No preview for this file type
...@@ -404,7 +404,7 @@ export default class TaskService extends UserService { ...@@ -404,7 +404,7 @@ export default class TaskService extends UserService {
switch (taskRateType) { switch (taskRateType) {
case TASK_RATE_TYPE.FOREVER: case TASK_RATE_TYPE.FOREVER:
return completeTimes > 0 ? TASK_STATUS.DONE : TASK_STATUS.WAIT_DO return completeTimes > 0 && completeTimes >= limitTimesEveryday ? TASK_STATUS.DONE : TASK_STATUS.WAIT_DO
break break
case TASK_RATE_TYPE.EVERYDAY: case TASK_RATE_TYPE.EVERYDAY:
return todayCompleteTimes >= limitTimesEveryday ? TASK_STATUS.DONE : TASK_STATUS.WAIT_DO return todayCompleteTimes >= limitTimesEveryday ? TASK_STATUS.DONE : TASK_STATUS.WAIT_DO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment