标签:this bbb family http else and try catch exce
先执行A在执行B再执行.then里面的
AAA() {
XXXXX一堆代码
this.BBB().then(()=>{
其他代码
})
},
async BBB(){
let res = await this.$http({
url:,
data:{
},
})
try{
//执行代码
if (res.body.ifJoinedFamily == ‘0‘) {
} else{
}
}catch(e){
//TODO handle the exception
}
},
标签:this bbb family http else and try catch exce
原文地址:https://www.cnblogs.com/youngMan-MrS/p/12916528.html