fix: update package.json select-file-enc.ts
This commit is contained in:
parent
d10143544d
commit
f6dda604dc
@ -119,7 +119,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Driv
|
||||
console.log('end convert video');
|
||||
|
||||
// @ts-ignore
|
||||
let convertedVideoFile = new File([convertedVideoDataObj.data], convertedVideoDataObj.name + "." + convertedVideoDataObj.format);
|
||||
let convertedVideoFile = await new File([convertedVideoDataObj.data], convertedVideoDataObj.name + "." + convertedVideoDataObj.format);
|
||||
|
||||
os.upload(convertedVideoFile, defaultStore.state.uploadFolder).then(driveFiles => {
|
||||
res(driveFiles);
|
||||
|
Loading…
x
Reference in New Issue
Block a user