fix(项目设置): 修复环境配置处引用该变量进行保存时,发现会把变量名的大写变成小写的缺陷
--bug=1024836 --user=王孝刚 【接口测试】github#23079,【环境配置】通用配置处配置含有英文大写变量名,HTTP配置处引用该变量进行保存时,发现会把变量名的大写变成小写 https://www.tapd.cn/55049933/s/1356957
This commit is contained in:
parent
63c8f57e90
commit
abb3dd0f55
|
@ -448,7 +448,10 @@ export default {
|
|||
return true;
|
||||
}
|
||||
this.condition.domain = decodeURIComponent(url.hostname);
|
||||
|
||||
if (socket.startsWith("${")){
|
||||
let split = socket.split(":");
|
||||
this.condition.domain = split[0];
|
||||
}
|
||||
this.condition.port = url.port;
|
||||
let path = url.pathname === "/" ? "" : url.pathname;
|
||||
if (url.port) {
|
||||
|
|
|
@ -453,7 +453,10 @@ export default {
|
|||
return true;
|
||||
}
|
||||
this.condition.domain = decodeURIComponent(url.hostname);
|
||||
|
||||
if (socket.startsWith("${")){
|
||||
let split = socket.split(":");
|
||||
this.condition.domain = split[0];
|
||||
}
|
||||
this.condition.port = url.port;
|
||||
let path = url.pathname === "/" ? "" : url.pathname;
|
||||
if (url.port) {
|
||||
|
|
Loading…
Reference in New Issue