... const data = await axios.get("/some_url_endpoint"); return data; } ... Await waits until the function("promise") resolves or rejects.
確定! 回上一頁