fix(性能测试): 导出测试报告带环境

--bug=1015089 --user=刘瑞斌 【性能测试】导出报告,没有展示运行环境 https://www.tapd.cn/55049933/s/1232243
This commit is contained in:
CaptainB 2022-08-24 13:06:12 +08:00 committed by 刘瑞斌
parent 55c62da154
commit a6e18b796f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<el-card id="testOverview"> <el-card id="testOverview">
<template v-slot:header> <template v-slot:header>
<span class="title">{{ $t('report.test_overview') }}</span> <span class="title">{{ $t('report.test_overview') }}</span>
<span v-if="projectEnvMap && projectEnvMap.length > 0"> <span v-if="projectEnvMap && Object.keys(projectEnvMap).length > 0">
<span> {{ $t('commons.environment') + ':' }} </span> <span> {{ $t('commons.environment') + ':' }} </span>
<span v-for="(values,key) in projectEnvMap" :key="key" style="margin-right: 10px"> <span v-for="(values,key) in projectEnvMap" :key="key" style="margin-right: 10px">
{{ key + ":" }} {{ key + ":" }}