From 254bde20b9fc90e606ab0d3cc0e58a2c091a6209 Mon Sep 17 00:00:00 2001 From: Simba Date: Mon, 7 Sep 2020 23:23:38 +0800 Subject: [PATCH] change file type --- src/pages/matter/List.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/matter/List.tsx b/src/pages/matter/List.tsx index 98b7ef0..043711f 100644 --- a/src/pages/matter/List.tsx +++ b/src/pages/matter/List.tsx @@ -301,7 +301,7 @@ export default class List extends TankComponent { uploadDirectory = async () => { const dirPathUuidMap: any = {}; // 存储已经创建好的文件夹map for (let i = 0; i < this.tempUploadList.length; i++) { - const file: File = this.tempUploadList[i]; + const file: any = this.tempUploadList[i]; const paths = file.webkitRelativePath.split("/"); const pPaths = paths.slice(0, paths.length - 1); const pPathStr = pPaths.join("/");