Skip to content

Commit

Permalink
fix android fs
Browse files Browse the repository at this point in the history
  • Loading branch information
lindongchen committed Oct 29, 2024
1 parent 29edc01 commit 45d9aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/apps/ztm/cloud/views/Files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,10 @@ const openQueue = () => {
emits('upload',[])
}
const doDownload = (item) => {
writeMobileFile('doDownloadStart.txt',item?.path||'');
// writeMobileFile('doDownloadStart.txt',item?.path||'');
if(item.path){
fileService.download(item.path).then((res)=>{
writeMobileFile('doDownloadSuccess.txt',res?.toString()||'');
// writeMobileFile('doDownloadSuccess.txt',res?.toString()||'');
toast.add({ severity: 'contrast', summary:'Tips', detail: `${item.name} in the download queue.`, life: 3000 });
emits('download',[item]);
selectedFile.value = item;
Expand Down

0 comments on commit 45d9aab

Please sign in to comment.