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

请问如何修改呢?
波斯汪
RISEBY
杨__羊羊
白板的微信
随时随地看视频慕课网APP
相关分类