摘要: state 存放全局数据this.$store.state.***this.$store.commit('addFn',参数)this.$store.dispath('addAsync',参数)修改 state数据需要调用 state:{ **:''}mutation中不能处理一步操作mutatio 阅读全文
posted @ 2022-03-02 21:21 web格调 阅读(33) 评论(0) 推荐(0) 编辑