vue中用async/await 來處理非同步操作. ... 主題: vue.js ... 原來async 函式返回的是一個promise 物件,如果要獲取到promise 返回值,我們應該用then ...
確定! 回上一頁