feat: 修复环境配置添加环境域名默认启用条件消失的问题

修复环境配置添加环境域名默认启用条件消失的问题
This commit is contained in:
song-tianyang 2021-05-26 15:11:49 +08:00 committed by 刘瑞斌
parent 75cf54aaab
commit cfdf402d49
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@
}
},
selectRow(row) {
this.condition = {};
this.condition = {type: "NONE", details: [new KeyValue({name: "", value: "contains"})], protocol: "http", socket: "", domain: "", port: 0, headers: [new KeyValue()]};
if (row) {
this.httpConfig.socket = row.socket;
this.httpConfig.protocol = row.protocol;