会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
海川酷子
平常多沉淀,装逼才有料
博客园
首页
新随笔
联系
订阅
管理
2018年7月10日
vue this.$store.dispatch("updateCartCount", 1)
摘要: dispatch:含有异步操作,例如向后台提交数据,写法: this.$store.dispatch('mutations方法名',值) commit:同步操作,写法:this.$store.commit('mutations方法名',值)
阅读全文
posted @ 2018-07-10 14:54 zou1234
阅读(5761)
评论(0)
推荐(0)
编辑
公告