Skip to content

Reactive variables not passing to mutation when using options API /w Vue 3 #1349

Answered by Akryum
patrickblackjr asked this question in Q&A
Discussion options

You must be logged in to vote

Your issue is that you put variables as a function, it should be similar to:

variables: {
  username: this.username,
},

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by patrickblackjr
Comment options

You must be logged in to vote
1 reply
@Akryum
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1348 on April 15, 2022 06:43.