优化细节

This commit is contained in:
GoEdgeLab
2021-10-30 22:33:56 +08:00
parent bdb8e98af6
commit 2d7f835f2a
2 changed files with 19 additions and 1 deletions

View File

@@ -20,6 +20,24 @@ Vue.component("bandwidth-limit-config-box", {
noticePageBody: "" noticePageBody: ""
} }
} }
if (config.dailySize == null) {
config.dailySize = {
count: -1,
unit: "gb"
}
}
if (config.monthlySize == null) {
config.monthlySize = {
count: -1,
unit: "gb"
}
}
if (config.totalSize == null) {
config.totalSize = {
count: -1,
unit: "gb"
}
}
return { return {
config: config config: config
} }

View File

@@ -97,7 +97,7 @@
       
<checkbox name="wafIsOn">WAF</checkbox> <checkbox name="wafIsOn">WAF</checkbox>
&nbsp; &nbsp; &nbsp; &nbsp;
<checkbox name="remoteAddrIsOn">从上级代理中读取IP <tip-icon content="此配置非常重要,请不要轻易选中!如果用户需要通过别的代理服务才能访问到这个网站服务,才需要选中。"></tip-icon> </checkbox> <checkbox name="remoteAddrIsOn">从上级代理中读取IP <tip-icon content="用来支持读取上级代理传递的X-Real-IP、X-Forwarded-For等信息。如果用户需要通过别的代理服务才能访问到这个网站服务,才需要选中。"></tip-icon> </checkbox>
</td> </td>
</tr> </tr>