//原代码
this.$store.dispatch('模块名/action名',参数)
本例
this.$store.dispatch('user/login', this.loginForm)
尚硅谷后台报错[vuex] unknown action type:login
最新推荐文章于 2024-06-14 14:44:11 发布
//原代码
this.$store.dispatch('模块名/action名',参数)
本例
this.$store.dispatch('user/login', this.loginForm)