fix(环境组): 环境包含多个域名时未显示域名信息

This commit is contained in:
shiziyuan9527 2021-11-23 11:25:55 +08:00 committed by 刘瑞斌
parent 1389931dc0
commit 16bd959e36
1 changed files with 3 additions and 0 deletions

View File

@ -252,6 +252,9 @@ export default {
if (obj.protocol && obj.domain) {
this.$set(item, "domainName", obj.protocol + "://" + obj.domain);
}
} else if (config.httpConfig.conditions.length > 1) {
this.$set(item, "moreDomain", true);
return;
}
}
} else {