fix(测试跟踪): 测试计划查看性能测试报告控制台报错

--bug=1018686 --user=李玉号 【测试跟踪】测试计划-查看报告-打开性能报告-Console报错
https://www.tapd.cn/55049933/s/1282050
This commit is contained in:
shiziyuan9527 2022-10-28 15:03:45 +08:00 committed by lyh
parent c1fbe116ae
commit 51c571a3ae
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<el-tabs> <el-tabs v-model="active">
<el-tab-pane :label="$t('load_test.pressure_config')"> <el-tab-pane :label="$t('load_test.pressure_config')">
<performance-pressure-config :is-read-only="true" :test="test" :report="report" :report-id="reportId" <performance-pressure-config :is-read-only="true" :test="test" :report="report" :report-id="reportId"
:is-share="isShare" :share-id="shareId" @fileChange="fileChange"/> :is-share="isShare" :share-id="shareId" @fileChange="fileChange"/>
@ -18,6 +18,11 @@ import PerformanceAdvancedConfig from "../../../load/PerformanceAdvancedConfig";
export default { export default {
name: "TestConfiguration", name: "TestConfiguration",
components: {PerformancePressureConfig, PerformanceAdvancedConfig}, components: {PerformancePressureConfig, PerformanceAdvancedConfig},
data() {
return {
active: '0'
}
},
props: { props: {
test: Object, test: Object,
testId: String, testId: String,