Blame view

doraemon/views/partial/gee-captcha.hbs 506 Bytes
htoooth authored
1 2 3
{{#if_cond @root.captcha.type '===' 'geetest'}}
    <script>window._captcha = 'geetest';</script>
    <script>window._captchaValue = true;</script>
周少峰 authored
4
    <script src="https://static.geetest.com/static/tools/gt.js"></script>
htoooth authored
5
{{/if_cond}}
htoooth authored
6
htoooth authored
7 8 9 10 11 12 13 14
{{#if_cond @root.captcha.type '===' 'image'}}
    <script>window._captcha = 'image';</script>
    {{#if @root.captcha.value}}
        <script>window._captchaValue = true;</script>
    {{^}}
        <script>window._captchaValue = false;</script>
    {{/if}}
{{/if_cond}}