@hzab/form-render-mobile 0.0.13 → 0.0.14
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/lib/index.js
CHANGED
|
@@ -42101,10 +42101,7 @@
|
|
|
42101
42101
|
onAction: function (e) {
|
|
42102
42102
|
switch (e.key) {
|
|
42103
42103
|
case "select":
|
|
42104
|
-
x(s)
|
|
42105
|
-
setTimeout(function () {
|
|
42106
|
-
P.current.click();
|
|
42107
|
-
}, 1e3);
|
|
42104
|
+
P.current.click(), x(s);
|
|
42108
42105
|
break;
|
|
42109
42106
|
case "captureImage":
|
|
42110
42107
|
(function () {
|
package/package.json
CHANGED
|
@@ -134,11 +134,11 @@ function Uploader(props) {
|
|
|
134
134
|
function onPicker({ key }) {
|
|
135
135
|
switch (key) {
|
|
136
136
|
case "select":
|
|
137
|
-
|
|
137
|
+
uploaderRef.current.click();
|
|
138
138
|
setCurAccept(accept);
|
|
139
|
-
setTimeout(() => {
|
|
140
|
-
|
|
141
|
-
}, 1000);
|
|
139
|
+
// setTimeout(() => {
|
|
140
|
+
// uploaderRef.current.click();
|
|
141
|
+
// }, 1000);
|
|
142
142
|
break;
|
|
143
143
|
|
|
144
144
|
case "captureImage":
|