diff --git a/web/public/js/components/server/http-firewall-captcha-options-viewer.js b/web/public/js/components/server/http-firewall-captcha-options-viewer.js index 3b0f4c8e..c07013b9 100644 --- a/web/public/js/components/server/http-firewall-captcha-options-viewer.js +++ b/web/public/js/components/server/http-firewall-captcha-options-viewer.js @@ -58,7 +58,7 @@ Vue.component("http-firewall-captcha-options-viewer", { } } - if (this.options.geeTestConfig.isOn) { + if (this.options.geeTestConfig != null && this.options.geeTestConfig.isOn) { summaryList.push("已配置极验") } diff --git a/web/public/js/components/server/http-firewall-captcha-options.js b/web/public/js/components/server/http-firewall-captcha-options.js index 45984d2b..7412889e 100644 --- a/web/public/js/components/server/http-firewall-captcha-options.js +++ b/web/public/js/components/server/http-firewall-captcha-options.js @@ -136,7 +136,7 @@ Vue.component("http-firewall-captcha-options", { } } - if (this.options.geeTestConfig.isOn) { + if (this.options.geeTestConfig != null && this.options.geeTestConfig.isOn) { summaryList.push("已配置极验") }