随笔分类 -  indexedDb

摘要:用法:包裹请求方法即可控制调取缓存还是请求接口,并且判断缓存时间是否超时来进行数据更新 import { fetchWithCache } from '@/utils/indexedDb'; export const getThreeModel = (ciId) => fetchWithCache( 阅读全文
posted @ 2025-03-18 15:14 SimoonJia 阅读(183) 评论(0) 推荐(0)