fix(系统设置): 环境组中的环境预览,显示的跟环境域名里不一样
--bug=1010325 --user=lyh 【系统设置】环境组中的环境预览,显示的跟环境域名里不一样 https://www.tapd.cn/55049933/s/1105786
This commit is contained in:
parent
e1919e8938
commit
90f4bed539
|
@ -367,8 +367,8 @@ export default {
|
||||||
return "SHOW_INFO";
|
return "SHOW_INFO";
|
||||||
}
|
}
|
||||||
let obj = config.httpConfig.conditions[0];
|
let obj = config.httpConfig.conditions[0];
|
||||||
if (obj.protocol && obj.domain) {
|
if (obj.protocol && obj.socket) {
|
||||||
return obj.protocol + "://" + obj.domain;
|
return obj.protocol + "://" + obj.socket;
|
||||||
}
|
}
|
||||||
} else if (config.httpConfig.conditions.length > 1) {
|
} else if (config.httpConfig.conditions.length > 1) {
|
||||||
return "SHOW_INFO";
|
return "SHOW_INFO";
|
||||||
|
|
|
@ -207,8 +207,8 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let obj = config.httpConfig.conditions[0];
|
let obj = config.httpConfig.conditions[0];
|
||||||
if (obj.protocol && obj.domain) {
|
if (obj.protocol && obj.socket) {
|
||||||
this.$set(item, "domainName", obj.protocol + "://" + obj.domain);
|
this.$set(item, "domainName", obj.protocol + "://" + obj.socket);
|
||||||
this.$set(item, "domainDescription", obj.description ? obj.description : "");
|
this.$set(item, "domainDescription", obj.description ? obj.description : "");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -302,8 +302,8 @@ export default {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let obj = config.httpConfig.conditions[0];
|
let obj = config.httpConfig.conditions[0];
|
||||||
if (obj.protocol && obj.domain) {
|
if (obj.protocol && obj.socket) {
|
||||||
this.$set(item, "domainName", obj.protocol + "://" + obj.domain);
|
this.$set(item, "domainName", obj.protocol + "://" + obj.socket);
|
||||||
this.$set(item, "domainDescription", obj.description ? obj.description : "");
|
this.$set(item, "domainDescription", obj.description ? obj.description : "");
|
||||||
}
|
}
|
||||||
} else if (config.httpConfig.conditions.length > 1) {
|
} else if (config.httpConfig.conditions.length > 1) {
|
||||||
|
|
|
@ -413,8 +413,8 @@ export default {
|
||||||
return "SHOW_INFO";
|
return "SHOW_INFO";
|
||||||
}
|
}
|
||||||
let obj = config.httpConfig.conditions[0];
|
let obj = config.httpConfig.conditions[0];
|
||||||
if (obj.protocol && obj.domain) {
|
if (obj.protocol && obj.socket) {
|
||||||
return obj.protocol + "://" + obj.domain;
|
return obj.protocol + "://" + obj.socket;
|
||||||
}
|
}
|
||||||
} else if (config.httpConfig.conditions.length > 1) {
|
} else if (config.httpConfig.conditions.length > 1) {
|
||||||
return "SHOW_INFO";
|
return "SHOW_INFO";
|
||||||
|
|
Loading…
Reference in New Issue