修复服务设置 -- HTTP/HTTPS页面可能为空的Bug

This commit is contained in:
GoEdgeLab
2021-07-30 13:43:36 +08:00
parent b287301d4c
commit 15fb58581d
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
<tr>
<td class="title">绑定端口 *</td>
<td>
<span class="red" v-if="httpsConfig.isOn && httpsConfig.addresses == null || httpsConfig.addresses.length == 0">还没有添加端口绑定会导致HTTPS服务无法访问。</span>
<span class="red" v-if="httpsConfig.isOn && (httpsConfig.addresses == null || httpsConfig.addresses.length == 0)">还没有添加端口绑定会导致HTTPS服务无法访问。</span>
<network-addresses-box :v-server-type="serverType" :v-addresses="httpsConfig.addresses" :v-protocol="'https'"></network-addresses-box>
</td>
</tr>