fix recaptcha

This commit is contained in:
WeidiDeng 2020-12-05 13:45:26 +08:00
parent c746c1931d
commit 01bab14c2f
No known key found for this signature in database
GPG Key ID: 25F87CE1741EC7CD

View File

@ -41,9 +41,11 @@ export default {
mounted () { mounted () {
if (!recaptcha) return if (!recaptcha) return
window.grecaptcha.ready(function () {
window.grecaptcha.render('recaptcha', { window.grecaptcha.render('recaptcha', {
sitekey: recaptchaKey sitekey: recaptchaKey
}) })
})
}, },
methods: { methods: {
toggleMode () { toggleMode () {