我想將庫SpotifyWebApi(鏈接)與瀏覽器 javascript(chrome 擴展)一起使用。如果你想使用 Promises/A+ 庫,你可以設置它spotifyApi.setPromiseImplementation(Q);如果我這樣做,會引發錯誤未捕獲的 ReferenceError:Q 未定義如果像這樣spotifyApi.setPromiseImplementation(Promise);錯誤處理響應:TypeError: _promiseImplementation.defer 不是函數如何使用Promise這個庫?
如何使用 SpotifyWebAPI 的 setPromiseImplementation 方法
手掌心
2022-12-29 13:55:10