在新建的new Vuex.Store中设置了actions,并且设置async / await,代码如下:
async actthree:(context)=>{
context.commit('alertthree',await alertthree())
},
async actfour:(context)=>{
await dispatch('actthree')
commit('alertfour',await alertfour())
}但是在控制台中报错为:
猛跑小猪
倚天杖