fix:项目闯关模式状态显示问题

This commit is contained in:
wyx
2023-03-09 10:49:30 +08:00
parent 050a9ed4c6
commit e22bd7af7f
2 changed files with 3 additions and 3 deletions

View File

@@ -38,8 +38,8 @@ export default createStore({
const stageState = t.taskProcessList?.some((s) => {
s.unlock = true;
s.statusName = "已完成";
s.status === 2 ? (s.statusName = "进行中") : (!s.status && (s.statusName = TASK_TYPES.toName[s.type]));
return state.projectInfo.unlockMode === 2 ? s.status !== 1 : (s.status !== 1 && s.flag);
s.status !== 1 && (s.statusName = TASK_TYPES.toName[s.type])
return state.projectInfo.unlockMode === 2 ? s.status !== 1 : (s.status !== 1 && s.flag)
});
stageState && (t.statusName = "进行中");
return stageState;