emacroh5lib 1.0.79 → 1.0.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emacroh5lib",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "EMacro前端组件库",
5
5
  "main": "dist/emacroh5lib.min.js",
6
6
  "scripts": {
@@ -105,7 +105,7 @@ export namespace EMacro {
105
105
  completeHandle(files)
106
106
  }
107
107
 
108
- public static selectFile(options: any = { multiple: true, accept: "*/*" }, isDirectory = true): Promise<FileList | null> {
108
+ public static selectFile(options: any = { multiple: true, accept: "*/*" }, isDirectory = false): Promise<FileList | null> {
109
109
  return new Promise((res: (value: FileList) => void, rej) => {
110
110
  const el = document.createElement("input");
111
111
  el.type = "file";