使用setTimeout() 函数给Fetch Api 加上timeout 效果. ... 原理很简单,首先在 fetch() 函数外包一层 Promise ,然后关键点在于 setTimeout() ...
確定! 回上一頁