promise的鏈式調用

//new一個promise對象並在裏面執行第一個異步方法 var promise = new Promise(function(resolve,reject){ axios({ method: 'post', url: common.getApi() + '/api/doctorDept/getAllDoctorDept', }).then(res
相關文章
相關標籤/搜索