2021年2月25日
摘要: 1、State this.$store.state.count 不要直接改变 state, 通过提交 mutation 的方式,而非直接改变 store.state.count 2、mutatioins this.$store.commit('方法名','载荷(参数) { Object } 对象的形 阅读全文
posted @ 2021-02-25 10:17 京鸿一瞥 阅读(562) 评论(0) 推荐(0)