摘要: 1. methods: mapActions('user', { login (dispatch) { dispatch('loginAction', this) } }) 2. methods: mapActions('user', ['loginAction']) 阅读全文
posted @ 2020-06-14 09:19 huanglongblog 阅读(2768) 评论(0) 推荐(0)