1、store.commit({'type':'mutation','parameter':'value'});

     store.dispatch('action');

2、获取state保存的值

   store.state.state

相关文章: