Mình đang gặp khó khăn khi muốn gửi submit.
> recaptchaVerified: function(w) {
> this.form.recaptcha = w
> },
> recaptchaExpired: function() {
> this.form.recaptcha = null
> },
> loginWithPassword: function() {
> var w = this;
> if (!this.submitting) {
> if (this.error = "",
> this.submitting = !0,
> !this.form.email || !this.form.password || !this.form.recaptcha)
> return this.error = "you_need_to_fill_all_the_fields",
> void (this.submitting = !1);
> var x = this.checkEmailCanJoinRole();
> return x.allowed ? void Meteor.loginWithPassword({
> email: this.form.email
> }, this.form.password, function(y, z) {
> return y ? (w.handleResponse(y, z),
> void console.error("LoginWithPassword Error:", y)) : void o({
> isLogin: !0,
> role_id: w.loginRole._id
> }, w.handleResponse)
> }) : (this.error = "Your email address is not allowed to Login here.",
> this.submitting = !1,
> void (x.details.role_slug && (this.suggestedRoleSlug = x.details.role_slug)))
> }
> }
Khi mình click submit là nó sẽ set token vào this.form.recaptcha. giờ mình muốn inject vào nó thì làm sao đây ạ