a=new Promise(()=>setTimeout(function(){console.log("123")},3000)) a.then(()=>console.log('321'))
你没有resolve啊
548k questions
547k answers
4 comments
86.3k users