fix: 导出场景文件名为null (#4356)

Co-authored-by: chenjianxing <jianxing.chen@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-07-02 17:32:18 +08:00 committed by GitHub
parent 7a88f970b3
commit 0ae630c5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -434,10 +434,12 @@ export default {
principal: [],
environmentId: [],
projectEnv: [],
projectId: ''
},
};
},
created() {
this.projectId = getCurrentProjectID();
if(!this.projectName || this.projectName === ""){
this.getProjectName();
}
@ -481,9 +483,6 @@ export default {
isNotRunning() {
return "Running" !== this.report.status;
},
projectId() {
return getCurrentProjectID();
},
},
methods: {
getProjectName (){