fix: 模板库没有阶段时默认查询阶段0的任务数据

This commit is contained in:
caozc
2023-02-26 12:36:03 +08:00
parent 0efc5e5485
commit 81a627e9ea
2 changed files with 20 additions and 3 deletions

View File

@@ -442,6 +442,7 @@ function changeStageIndex(index) {
const getTask = async () => {
await api.getDraftTask({projectId: route.query.projectId}).then((res) => {
projectInfo.value = res.data.data
console.log("获取任务列表:" + JSON.stringify(projectInfo.value) )
});
};