fix:阶段id传递修改

This commit is contained in:
wyx
2023-02-18 11:56:41 +08:00
parent e1db707977
commit c0e311d86b

View File

@@ -2916,11 +2916,12 @@ export default {
state.valuestu2 = 0;
} else {
// 有阶段任务
console.log(levelList.stageList)
let arrStage = [];
for (let i = 0; i < levelList.stageList.length; i++) {
if (levelList.stageList[i].stageId !== "0") {
if (levelList.stageList[i].id !== "0") {
let obj = {
value: levelList.stageList[i].stageId,
value: levelList.stageList[i].id,
label: levelList.stageList[i].name,
};
arrStage.push(obj);