优化代码

This commit is contained in:
GoEdgeLab
2022-08-25 16:02:26 +08:00
parent 4a9f6ca8df
commit 9a0eeef3e8

View File

@@ -325,7 +325,7 @@ Vue.component("http-firewall-actions-box", {
this.captchaFailBlockTimeout = config.options.failBlockTimeout.toString()
}
break
case "jsCookie":
case "js_cookie":
this.jsCookieLife = ""
if (config.options.life != null || config.options.life > 0) {
this.jsCookieLife = config.options.life.toString()