hashMap.js
1 import A from '../actions.js' 2 3 const state = {} 4 5 const mutations = { 6 setCurrent(hashMap, currentHashMap){ 7 Object.assign(hashMap, currentHashMap.hashMap) 8 }, 9 applyEvent: A.hashMapActions 10 } 11 12 const actions = {} 13 14 export default { 15 state, 16 mutations, 17 actions 18 }