axios 是常用的http请求库,利用adapter我们给请求加上缓存使用方式如下: 输出如下: ... return } const cache = caches[key] //尚未缓存 if (!cache) ...
確定! 回上一頁