一般情況下async/await 在錯誤處理方面,主要使用try/catch,像這樣 ... 1000) }) } (async () => { try { const data = await fetchData() ...
確定! 回上一頁