标签:promise turn fun ret mis eject nbsp The ISE
function promise1 = new Promise((resolve,reject)=>{
return result1
})
function promise2 = new Promise((resolve,reject)=>{
return result2
})
function promise = Promise.all([promise1(),promise2()]).then(
let tree = [...result1];
tree.push(result2)
).catch()
//调promise方法
promise();
标签:promise turn fun ret mis eject nbsp The ISE
原文地址:https://www.cnblogs.com/smdb/p/10175568.html