fix(测试跟踪): 测试计划性能用例点击查看报告监控详情资源池显示为undefined
--bug=1024699 --user=李玉号 【测试跟踪】测试计划-性能用例-点击查看报告-监控详情-资源池显示为undefined https://www.tapd.cn/55049933/s/1354250
This commit is contained in:
parent
76b4eb356a
commit
7c9f8cc1b9
|
@ -3,6 +3,7 @@
|
|||
<el-row :gutter="10">
|
||||
<el-col :span="4">
|
||||
<el-select v-model="currentInstance" placeholder="" size="small" style="width: 100%"
|
||||
:popper-append-to-body="false"
|
||||
@change="changeInstance(currentInstance)">
|
||||
<el-option
|
||||
v-for="item in resource"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<el-row>
|
||||
<el-col :span="4">
|
||||
<div>
|
||||
<el-select v-model="currentInstance" placeholder="" size="small" style="width: 100%"
|
||||
<el-select v-model="currentInstance" placeholder="" size="small" style="width: 100%" :popper-append-to-body="false"
|
||||
@change="getResource(currentInstance)">
|
||||
<el-option
|
||||
v-for="item in instances"
|
||||
|
@ -212,7 +212,9 @@ export default {
|
|||
this.showChart = true;
|
||||
});
|
||||
} else {
|
||||
this.currentInstance = this.currentInstance || this.instances[0]?.ip + ":" + this.instances[0]?.port;
|
||||
if (!this.currentInstance && this.instances[0]) {
|
||||
this.currentInstance = this.instances[0]?.ip + ":" + this.instances[0]?.port;
|
||||
}
|
||||
}
|
||||
this.handleChecked(this.currentInstance);
|
||||
getPerformanceMetricQuery(this.id).then(result => {
|
||||
|
|
Loading…
Reference in New Issue