mutations只能用于同步操作,即像ajax请求,定时器等异步操作不能放入mutations,
actions用来解决vuex的异步操作,实际上是通过actions异步获取数据,来提交mutations