diff --git a/src/renderer/manage/pages/BucketPage.vue b/src/renderer/manage/pages/BucketPage.vue index 853817d..bde0b40 100644 --- a/src/renderer/manage/pages/BucketPage.vue +++ b/src/renderer/manage/pages/BucketPage.vue @@ -1292,7 +1292,7 @@ const tableData = reactive([] as any[]) const isShowUploadPanel = ref(false) const activeUpLoadTab = ref('uploading') const uploadTaskList = ref([] as IUploadTask[]) -const refreshUploadTaskId = ref(null) +const refreshUploadTaskId = ref(undefined) const uploadPanelFilesList = ref([] as any[]) const cancelToken = ref('') const isLoadingUploadPanelFiles = ref(false) @@ -1309,7 +1309,7 @@ const isLoadingDownloadData = ref(false) const activeDownLoadTab = ref('downloading') const currentDownloadFileList = reactive([] as any[]) const downloadTaskList = ref([] as IDownloadTask[]) -const refreshDownloadTaskId = ref(null) +const refreshDownloadTaskId = ref(undefined) const downloadCancelToken = ref('') const downloadingTaskList = computed(() => downloadTaskList.value.filter(item => ['downloading', 'queuing', 'paused'].includes(item.status)) @@ -1365,8 +1365,8 @@ const batchRenameReplace = ref('') const isRenameIncludeExt = ref(false) const isSingleRename = ref(false) const itemToBeRenamed = ref({} as any) -let fileTransferInterval: NodeJS.Timer | null = null -let downloadInterval: NodeJS.Timer | null = null +let fileTransferInterval: NodeJS.Timeout | undefined +let downloadInterval: NodeJS.Timeout | undefined // 当前页面信息相关 const currentPicBedName = computed(() => manageStore.config.picBed[configMap.alias].picBedName) diff --git a/yarn.lock b/yarn.lock index b04f4d2..c87a922 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3495,11 +3495,11 @@ integrity sha512-7N8AOYWWYuw0g+K+GKCmIwfU1VMHcexYNpLPYzFZ4Uq2W6C/ptfeC7XhXgy/4pcwhz/9KoS5yijMfnYQ0u0Udw== "@types/node@^22.0.0": - version "22.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.0.tgz#04862a2a71e62264426083abe1e27e87cac05a30" - integrity sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw== + version "22.4.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.4.1.tgz#9b595d292c65b94c20923159e2ce947731b6fdce" + integrity sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg== dependencies: - undici-types "~6.11.1" + undici-types "~6.19.2" "@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1": version "2.4.1" @@ -14730,10 +14730,10 @@ unbzip2-stream@^1.0.9: buffer "^5.2.1" through "^2.3.8" -undici-types@~6.11.1: - version "6.11.1" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.11.1.tgz#432ea6e8efd54a48569705a699e62d8f4981b197" - integrity sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== unescape@^1.0.1: version "1.0.1"