mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
fix:无阶段项目创建任务大纲显示问题
This commit is contained in:
@@ -2511,6 +2511,12 @@ export default {
|
||||
let leng = res.data.data.stageList.length;
|
||||
if (leng > 0) {
|
||||
let taskarr = res.data.data.stageList;
|
||||
console.log('11-22-33',taskarr)
|
||||
if(taskarr.length==1){
|
||||
if(taskarr[0].stageId == '0'){
|
||||
taskarr[0].name = '无阶段任务'
|
||||
}
|
||||
}
|
||||
state.taskSyllabus = taskarr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user