feat: kkfile增加强制刷新缓存参数
This commit is contained in:
@@ -31,7 +31,7 @@ export function dealUrl (fileUrl) {
|
|||||||
// 路径增加时间戳
|
// 路径增加时间戳
|
||||||
const timestamp = new Date().getTime()
|
const timestamp = new Date().getTime()
|
||||||
fileUrl += `&time=${timestamp}&type=kkfile`
|
fileUrl += `&time=${timestamp}&type=kkfile`
|
||||||
return `${window._CONFIG.onlinePreviewDomainURL}?url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}`
|
return `${window._CONFIG.onlinePreviewDomainURL}?forceUpdatedCache=true&url=${encodeURIComponent(Base64.encode(fileUrl))}&watermarkTxt=${encodeURIComponent(watermarkTxt)}&watermarkSign=${watermarkSign}`
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user