摘要: store的结构: city模块: 在各模块使用了命名空间的情况下,即 namespaced: true 时: 组件中访问模块里的state 传统方法: this.$store.state['模块名']['属性名'] 例如:this.$store.state.city.list。 控制台输出 thi 阅读全文
posted @ 2021-03-15 18:17 情三 阅读(1397) 评论(1) 推荐(1) 编辑