@douyinfe/semi-foundation 2.10.1 → 2.10.2

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.
@@ -1092,6 +1092,7 @@ class UploadFoundation extends _foundation.default {
1092
1092
  if (!disabled) {
1093
1093
  if (directory) {
1094
1094
  this.handleDirectoryDrop(e);
1095
+ return;
1095
1096
  }
1096
1097
 
1097
1098
  const files = (0, _from.default)(e.dataTransfer.files);
@@ -1086,6 +1086,7 @@ class UploadFoundation extends BaseFoundation {
1086
1086
  if (!disabled) {
1087
1087
  if (directory) {
1088
1088
  this.handleDirectoryDrop(e);
1089
+ return;
1089
1090
  }
1090
1091
 
1091
1092
  const files = _Array$from(e.dataTransfer.files);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-foundation",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build:lib": "node ./scripts/compileLib.js",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@babel/runtime-corejs3": "^7.15.4",
11
- "@douyinfe/semi-animation": "2.10.1",
11
+ "@douyinfe/semi-animation": "2.10.2",
12
12
  "async-validator": "^3.5.0",
13
13
  "classnames": "^2.2.6",
14
14
  "date-fns": "^2.9.0",
@@ -24,7 +24,7 @@
24
24
  "*.scss",
25
25
  "*.css"
26
26
  ],
27
- "gitHead": "1c84b585ff43db35b286e8c24f8333e4170d015c",
27
+ "gitHead": "00b27ff43fe6ed5d775d5849bd0adc4c4c5ea231",
28
28
  "devDependencies": {
29
29
  "@babel/plugin-proposal-decorators": "^7.15.8",
30
30
  "@babel/plugin-transform-runtime": "^7.15.8",
@@ -773,6 +773,7 @@ class UploadFoundation<P = Record<string, any>, S = Record<string, any>> extends
773
773
  if (!disabled) {
774
774
  if (directory) {
775
775
  this.handleDirectoryDrop(e);
776
+ return;
776
777
  }
777
778
  const files: File[] = Array.from(e.dataTransfer.files);
778
779
  this.handleChange(files);