Skip to content

Dispatching object #184

Closed
Closed
@CthulhuDen

Description

@CthulhuDen

Documentation says, the whole dispatched object gets sent to the mutation, and so do the release notes for 0.6.2, and says that

Note when using the object-style, you should include all arguments as properties on the dispatched object

But in fact only the payload field gets passed, and the arguments must be in the payload array, not as some properties. https://github.com/vuejs/vuex/blob/master/src/index.js#L83

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions