1.
methods: mapActions('user', {
login (dispatch) {
dispatch('loginAction', this)
}
})
2.
methods: mapActions('user', ['loginAction'])
