Skip to content

Commit 90c5f27

Browse files
committed
isLocalCache => isLocalCached
1 parent b609224 commit 90c5f27

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/upload/resume.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface UploadedChunkStorage extends UploadChunkData {
88
size: number
99

1010
// 标记该 chunk 是否来自缓存
11-
isLocalCache?: true
11+
isLocalCached?: true
1212
}
1313

1414
export interface ChunkLoaded {
@@ -213,7 +213,7 @@ export default class Resume extends Base {
213213
this.uploadedList = localInfo.data
214214
if (Array.isArray(this.uploadedList)) {
215215
this.uploadedList.forEach(chunk => {
216-
chunk.isLocalCache = true
216+
chunk.isLocalCached = true
217217
})
218218
}
219219

types/window.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
interface Window {
22
webkitURL?: typeof URL
3-
mozURL?: typeof URL
3+
mozURL?: typeof URL
44
ActiveXObject?: any
55
}

0 commit comments

Comments
 (0)