diff --git a/pages/API/get-file-system-manager/get-file-system-manager.uvue b/pages/API/get-file-system-manager/get-file-system-manager.uvue index 755e061aed3f7c02925f430db118e1e13754b140..d53702c84f7dca3fc664a9067019387cb358472d 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.uvue +++ b/pages/API/get-file-system-manager/get-file-system-manager.uvue @@ -76,7 +76,7 @@ methods: { - statFileInfoTest: function (e : any) { + statFileInfoTest: function (_ : any) { let fileManager = uni.getFileSystemManager() fileManager.stat({ @@ -107,7 +107,7 @@ } as StatOptions) }, - getFileInfoTest: function (e : any) { + getFileInfoTest: function () { let fileManager = uni.getFileSystemManager() fileManager.getFileInfo({ @@ -139,7 +139,7 @@ }, - copyFileTest: function (e : any) { + copyFileTest: function () { let fileManager = uni.getFileSystemManager() @@ -169,7 +169,7 @@ } as CopyFileOptions) }, - renameFileTest: function (e : any) { + renameFileTest: function () { let fileManager = uni.getFileSystemManager() @@ -199,7 +199,7 @@ } as RenameOptions) }, - readDirTest: function (e : any) { + readDirTest: function () { let fileManager = uni.getFileSystemManager() fileManager.readdir({ dirPath: `${this.basePath}${this.readDir}`, @@ -231,7 +231,7 @@ }, - writeFileTest: function (e : any) { + writeFileTest: function (_ : any) { let fileManager = uni.getFileSystemManager() fileManager.writeFile({ @@ -263,7 +263,7 @@ }, - readFileTest: function (e : any) { + readFileTest: function () { let fileManager = uni.getFileSystemManager() @@ -294,7 +294,7 @@ } as ReadFileOptions) }, - rmdirTest: function (e : any) { + rmdirTest: function () { let fileManager = uni.getFileSystemManager() fileManager.rmdir({ dirPath: `${this.basePath}${this.rmDirFile}`, @@ -322,7 +322,7 @@ } as RmDirOptions) }, - mkdirTest: function (e : any) { + mkdirTest: function () { // 准备测试数据 let fileManager = uni.getFileSystemManager() @@ -353,7 +353,7 @@ } as MkDirOptions) }, - accessFileTest: function (e : any) { + accessFileTest: function () { this.accessFileRet = '' let fileManager = uni.getFileSystemManager() fileManager.access({ @@ -382,7 +382,7 @@ } as AccessOptions) }, - unlinkTest: function (e : any) { + unlinkTest: function () { let fileManager = uni.getFileSystemManager() @@ -410,7 +410,7 @@ } } as UnLinkOptions) }, - unlinkAllFileTest: function (e : any) { + unlinkAllFileTest: function () { let fileManager = uni.getFileSystemManager() fileManager.readdir({ dirPath: `${this.basePath}${this.rmDirFile}`, @@ -460,7 +460,7 @@ } } as ReadDirOptions) }, - copyStaticToFilesTest: function (e : any) { + copyStaticToFilesTest: function () { let fileManager = uni.getFileSystemManager()