12.10提交

This commit is contained in:
zoujiandong
2025-12-10 17:33:39 +08:00
parent 22104881f1
commit c86aa03f01
28 changed files with 3237 additions and 279 deletions
+6
View File
@@ -14,6 +14,9 @@ class DownloadStoreFile {
url: '',
status: 'downloading', // downloading, paused, completed, failed
progress: 0,
title:'',
type:'',
releaseTime:'',
task: null,
filePath: '',
createTime: Date.now(),
@@ -93,6 +96,9 @@ class DownloadStoreFile {
filePath: item.filePath,
createTime: item.createTime,
localPath:item.localPath,
title:item.title,
type:item.type,
releaseTime:item.releaseTime,
}));
uni.setStorageSync('downloadFileTasks', tasksToSave);
}