/ src / modules / ao.js
ao.js
 1  import M from '../actions.js'
 2  
 3  const state = []
 4  
 5  const mutations = {
 6      setCurrent(aos, current){
 7          aos.length = 0
 8          current.ao.forEach( a => {
 9              aos.push(a)
10          })
11      },
12      applyEvent: M.aoActions
13  }
14  
15  const actions = {
16  
17  }
18  
19  export default {
20    state,
21    mutations,
22    actions
23  }