fix: 导出场景文件名为null (#4356)
Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
parent
7a88f970b3
commit
0ae630c5f4
|
@ -434,10 +434,12 @@ export default {
|
||||||
principal: [],
|
principal: [],
|
||||||
environmentId: [],
|
environmentId: [],
|
||||||
projectEnv: [],
|
projectEnv: [],
|
||||||
|
projectId: ''
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.projectId = getCurrentProjectID();
|
||||||
if(!this.projectName || this.projectName === ""){
|
if(!this.projectName || this.projectName === ""){
|
||||||
this.getProjectName();
|
this.getProjectName();
|
||||||
}
|
}
|
||||||
|
@ -481,9 +483,6 @@ export default {
|
||||||
isNotRunning() {
|
isNotRunning() {
|
||||||
return "Running" !== this.report.status;
|
return "Running" !== this.report.status;
|
||||||
},
|
},
|
||||||
projectId() {
|
|
||||||
return getCurrentProjectID();
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getProjectName (){
|
getProjectName (){
|
||||||
|
|
Loading…
Reference in New Issue