会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
每天都要进步一点点
善始者实繁,克终者盖寡。 技术栈:angular + ionic + vue + mint-ui + react-native + teaset + h5plus + mui + nodejs + webpack + gulp + ES6 + vux + typescript2 + weex + weex-ui + 微信小程序 + react + ant-design + ant-design-mobile + material-ui + nervjs + taro + taro-ui + spring boot
博客园
首页
新随笔
联系
订阅
管理
2018年3月20日
vuex 存值 及 取值 的操作
摘要: 1.传值 2.vuex (1)index.js (2)types.js (3)actions.js (4)mutations.js (5)getters.js 3.取值 注: dispatch:含有异步操作,例如向后台提交数据,写法: this.$store.dispatch('mutations方
阅读全文
posted @ 2018-03-20 19:52 每天都要进步一点点
阅读(17925)
评论(0)
推荐(0)
公告