fix(接口自动化) 环境选择问题修复

--bug=1006821 --user=赵勇 【环境配置-HTTP配置】更新一个HTTP配置后无法无法继续创建新的环境域名,需要添加一个undefined://undefined才能继续创建 https://www.tapd.cn/55049933/s/1051584
This commit is contained in:
fit2-zhao 2021-09-26 10:52:41 +08:00 committed by fit2-zhao
parent eee28615e6
commit 742e604c05
1 changed files with 2 additions and 2 deletions

View File

@ -267,11 +267,11 @@ export default {
this.condition = {type: "NONE", details: [new KeyValue({name: "", value: "contains"})], protocol: "http", socket: "", domain: "", headers: [new KeyValue()]};
this.reload();
}
this.$refs.envTable.setCurrentRow(-1);
this.$refs.envTable.setCurrentRow(0);
},
clear() {
this.condition = {type: "NONE", details: [new KeyValue({name: "", value: "contains"})], protocol: "http", socket: "", domain: "", headers: [new KeyValue()]};
this.$refs.envTable.setCurrentRow(-1);
this.$refs.envTable.setCurrentRow(0);
},
reload() {
this.loading = true