fix(测试跟踪): 修复测试计划 导出的场景用例报告显示的不正确的问题

--bug=1012071 --user=宋天阳 【测试跟踪】-测试计划  导出的场景用例报告显示的不正确
https://www.tapd.cn/55049933/s/1132333
This commit is contained in:
song-tianyang 2022-04-11 15:43:28 +08:00 committed by CountryBuilder
parent 3663d4c356
commit b8657a36ed
1 changed files with 6 additions and 2 deletions

View File

@ -332,8 +332,12 @@ export default {
this.init();
if (this.isTemplate) {
//
this.report = this.templateReport;
this.buildReport();
if(this.templateReport){
this.handleGetScenarioReport(this.templateReport);
}else {
this.report = this.templateReport;
this.buildReport();
}
} else if (this.isShare) {
getShareScenarioReport(this.shareId, this.reportId, (data) => {
this.checkReport(data);