fix(环境管理): 修复环境更新或清除后选中数据无法回显问题 #1005471
--bug=1005471 --user=赵勇 【环境配置】选中环境... https://www.tapd.cn/55049933/s/1030097
This commit is contained in:
parent
1ffbee6435
commit
861ddfec53
|
@ -46,7 +46,7 @@
|
|||
</el-form-item>
|
||||
</div>
|
||||
<div class="ms-border">
|
||||
<el-table :data="httpConfig.conditions" highlight-current-row @current-change="selectRow">
|
||||
<el-table :data="httpConfig.conditions" highlight-current-row @current-change="selectRow" ref="envTable">
|
||||
<el-table-column prop="socket" :label="$t('load_test.domain')" show-overflow-tooltip width="180">
|
||||
<template v-slot:default="{row}">
|
||||
{{ getUrl(row) }}
|
||||
|
@ -267,9 +267,11 @@
|
|||
this.condition = {type: "NONE", details: [new KeyValue({name: "", value: "contains"})], protocol: "http", socket: "", domain: "", headers: [new KeyValue()]};
|
||||
this.reload();
|
||||
}
|
||||
this.$refs.envTable.setCurrentRow(-1);
|
||||
},
|
||||
clear() {
|
||||
this.condition = {type: "NONE", details: [new KeyValue({name: "", value: "contains"})], protocol: "http", socket: "", domain: "", headers: [new KeyValue()]};
|
||||
this.$refs.envTable.setCurrentRow(-1);
|
||||
},
|
||||
reload() {
|
||||
this.loading = true
|
||||
|
|
Loading…
Reference in New Issue