fix(场景自动化): 项目ID设置问题
This commit is contained in:
parent
6ead6afb92
commit
9021e0b75a
|
@ -148,9 +148,10 @@
|
||||||
return parentId ? parentId : this.$store.state.projectId;
|
return parentId ? parentId : this.$store.state.projectId;
|
||||||
} else {
|
} else {
|
||||||
const project = this.projectList.find(p => p.id === projectId);
|
const project = this.projectList.find(p => p.id === projectId);
|
||||||
if (!project) {
|
if (project) {
|
||||||
return parentId ? parentId : this.$store.state.projectId;
|
return projectId;
|
||||||
}
|
}
|
||||||
|
return parentId ? parentId : this.$store.state.projectId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getProjectName(id) {
|
getProjectName(id) {
|
||||||
|
|
Loading…
Reference in New Issue