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,8 +41,10 @@ export default {
mounted () {
if (!recaptcha) return
window.grecaptcha.render('recaptcha', {
sitekey: recaptchaKey
window.grecaptcha.ready(function () {
window.grecaptcha.render('recaptcha', {
sitekey: recaptchaKey
})
})
},
methods: {