摘要: 1. 在组件中引入mapActions import mapActions from 'vuex' 而不是 getActions 2.引入 mutations-type.js import {ADD} from import * as type from 错误写法 import ADD 阅读全文
posted @ 2017-10-24 10:14 daidai201 阅读(492) 评论(0) 推荐(0) 编辑