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 dae2130 commit d413165Copy full SHA for d413165
docs/en/actions.md
@@ -76,7 +76,7 @@ A more practical example of real-world actions would be an action to checkout a
76
77
``` js
78
actions: {
79
- checkout ({ commit, state }, payload) {
+ checkout ({ commit, state }, products) {
80
// save the items currently in the cart
81
const savedCartItems = [...state.cart.added]
82
// send out checkout request, and optimistically
0 commit comments