mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-09 02:46:48 +08:00
fix -- bug
This commit is contained in:
@@ -30,11 +30,8 @@ export default createStore({
|
||||
if (state.projectInfo.unlockMode === 1) {
|
||||
state.projectInfo.stageProcessList.forEach((t) => {
|
||||
t.statusName = '进行中'
|
||||
const stageState = t.taskProcessList?.every((s) => {
|
||||
s.statusName = s.status === 1 ? '已完成' : TASK_TYPES.toName[s.type]
|
||||
return s.status === 1
|
||||
})
|
||||
stageState && (t.statusName = '已完成')
|
||||
t.taskProcessList?.forEach((s) => s.statusName = s.status === 1 ? '已完成' : TASK_TYPES.toName[s.type])
|
||||
t.taskProcessList?.every((s) => s.status === 1) && (t.statusName = '已完成')
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user