@smart100/spu-web-plugin 1.0.25-beta.6 → 1.0.25-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -83,7 +83,8 @@ export interface IAxiosCacheConfig {
83
83
  // network-first: 网络优先,缓存数据后,下次请求优先使用联网数据,离线才使用缓存数据
84
84
  // cache-first: 缓存优先,缓存数据后,下次请求优先使用缓存数据,使用缓存后如果有联网则依然请求最新数据替换旧缓存【比如剑哥需求文档中的表单协议缓存,则属于此策略】【这个策略下需第二次请求接口才能拿到最新数据】
85
85
  // d.如果是 b c,支持配置缓存过期时间
86
- strategy: 'network-only' | 'cache-first' | 'network-first'
86
+ strategy: 'network-only' | 'cache-first' | 'network-first' | 'default'
87
+ checkcachesave?: any
87
88
  cachetime?: number
88
89
  }
89
90