摘要:
this.testPromise=function(){ return new Promise(function(resolve,reject){ console.log("testPromise start:"); resolve(true); //这里会将true传到下一个then的参数s中 } 阅读全文
摘要:
this.testPromise=function(){ return new Promise(function(resolve,reject){ console.log("testPromise start:"); resolve(true); //这里会将true传到下一个then的参数s中 } 阅读全文
|