天使半只翼

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年7月18日

摘要: this.testPromise=function(){ return new Promise(function(resolve,reject){ console.log("testPromise start:"); resolve(true); //这里会将true传到下一个then的参数s中 } 阅读全文
posted @ 2016-07-18 17:38 天使半只翼 阅读(345) 评论(0) 推荐(0) 编辑