functionB(){
this.functionA()
}
functionA(){
return new Promise((resolve, reject) => {
this.$http({ url:XXXX, type:'get', data:{ }}).then(res=>{ resolve();}).catch(err=>{})
})