feat: 图片版本号更新
This commit is contained in:
parent
8336d3f794
commit
eb44afc031
@ -2,13 +2,13 @@
|
|||||||
// 图片缓存版本号配置
|
// 图片缓存版本号配置
|
||||||
export const IMAGE_CACHE_VERSION = {
|
export const IMAGE_CACHE_VERSION = {
|
||||||
// 图片缓存版本号,仅在图片资源有重大变化时更新
|
// 图片缓存版本号,仅在图片资源有重大变化时更新
|
||||||
version: '1.0.2', // 可以根据需要更新此版本号
|
version: '1.0.3', // 可以根据需要更新此版本号
|
||||||
|
|
||||||
// 缓存类型控制:'images'、'assets' 或 'all'
|
// 缓存类型控制:'images'、'assets' 或 'all'
|
||||||
// 'images': 只清除图片缓存 (likei-images-v)
|
// 'images': 只清除图片缓存 (likei-images-v)
|
||||||
// 'assets': 只清除资产缓存 (likei-assets-v)
|
// 'assets': 只清除资产缓存 (likei-assets-v)
|
||||||
// 'all': 清除所有缓存
|
// 'all': 清除所有缓存
|
||||||
cacheType: 'images', // 默认清除所有缓存,可根据需要修改
|
cacheType: 'all', // 默认清除所有缓存,可根据需要修改
|
||||||
|
|
||||||
// 版本更新说明(用于记录更新原因)
|
// 版本更新说明(用于记录更新原因)
|
||||||
updateReason: 'Initial image cache version for major release',
|
updateReason: 'Initial image cache version for major release',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user