vuex
摘要:
1.state 放置你想储存于仓库的东西 2.mutations 用来操作,改states里面的数据的 3.getters 用来更好的处理组装数据的 4.mapState mapGatter 在computed里面直 ...mapState(['state里面放置的数据名称']) 注意:使用...这 阅读全文
posted @ 2019-08-01 20:11 joer717 阅读(90) 评论(0) 推荐(0) 编辑