Ver código fonte

腾讯验证码

wangxin 5 anos atrás
pai
commit
c4492d9211
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/view/captcha/captcha.vue

+ 1 - 1
src/view/captcha/captcha.vue

@@ -65,7 +65,7 @@
             this.TencentCaptcha = new window.TencentCaptcha(
                 getAppId('development'),
                 function (res) {/* callback */
-                    if (this.isiOS === '1') {
+                    if (that.isiOS === '1') {
                         window.webkit.messageHandlers.returnVerificationCode.postMessage(res.ret.toString());
                     } else {
                         window.hap.verificationCode(res.ret.toString());