摘要: - 四个map 方法的使用: 1. mapState方法: 用于映射 state 中的数据为计算属性 computed: { ...mapState({sum: 'sum', school: 'school'}), ...mapState(['sum', 'school']), } 2. mapGe 阅读全文
posted @ 2021-12-22 00:21 我就尝一口 阅读(932) 评论(0) 推荐(0) 编辑