We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f07dc commit 8a0d805Copy full SHA for 8a0d805
template/backend/captcha/go/partial_jsinit.html
@@ -2,7 +2,7 @@
2
var baseURL=typeof(IS_BACKEND)!='undefined'&&IS_BACKEND?BACKEND_URL:FRONTEND_URL;
3
new CaptchaGo('#captchago-{{$.Data.captchaID}}',{
4
api:baseURL+'/captchago',idSuffix:'-{{$.Data.captchaID}}',driver:'{{$.Data.driver}}',type:'{{$.Data.type}}',
5
- success:typeof(success)=='function'?success:function(){typeof(App)!='undefined'&&App.message({text:'{{`验证成功`|$.T}}',type:'success'});$(document).trigger('captcha.success');},
6
- error:typeof(error)=='function'?error:function(){typeof(App)!='undefined'&&App.message({text:'{{`验证失败,请重试`|$.T}}',type:'error'});$(document).trigger('captcha.error');}
+ success:typeof(success)=='function'?success:function(){typeof(App)!='undefined'&&App.message({text:'{{`验证成功`|$.T}}',type:'success'});},
+ error:typeof(error)=='function'?error:function(){typeof(App)!='undefined'&&App.message({text:'{{`验证失败,请重试`|$.T}}',type:'error'});}
7
});
8
}
0 commit comments