@kmkf-fe-packages/basic-components 2.0.79-beta.70 → 2.0.79-beta.73
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/dist/index.esm.js +3 -12
- package/dist/index.js +3 -12
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -24714,31 +24714,22 @@ var IdInputSelect = function IdInputSelect(props) {
|
|
|
24714
24714
|
tradeIdRef: tradeIdRef.current,
|
|
24715
24715
|
form: form
|
|
24716
24716
|
});
|
|
24717
|
-
if (!(tradeId === tradeIdRef.current)) {
|
|
24718
|
-
_context2.next = 4;
|
|
24719
|
-
break;
|
|
24720
|
-
}
|
|
24721
|
-
return _context2.abrupt("return");
|
|
24722
|
-
case 4:
|
|
24723
24717
|
if (tradeId) {
|
|
24724
|
-
_context2.next =
|
|
24718
|
+
_context2.next = 5;
|
|
24725
24719
|
break;
|
|
24726
24720
|
}
|
|
24727
24721
|
setDataSource([]);
|
|
24728
24722
|
return _context2.abrupt("return");
|
|
24729
|
-
case
|
|
24723
|
+
case 5:
|
|
24730
24724
|
setSpinning(true);
|
|
24731
24725
|
typeMap$6[type].asyncGetData(tradeId).then(function (data) {
|
|
24732
24726
|
setDataSource(data);
|
|
24733
|
-
if (data.length > 0) {
|
|
24734
|
-
tradeIdRef.current = tradeId;
|
|
24735
|
-
}
|
|
24736
24727
|
}).catch(function () {
|
|
24737
24728
|
setDataSource([]);
|
|
24738
24729
|
}).finally(function () {
|
|
24739
24730
|
setSpinning(false);
|
|
24740
24731
|
});
|
|
24741
|
-
case
|
|
24732
|
+
case 7:
|
|
24742
24733
|
case "end":
|
|
24743
24734
|
return _context2.stop();
|
|
24744
24735
|
}
|
package/dist/index.js
CHANGED
|
@@ -24727,31 +24727,22 @@ var IdInputSelect = function IdInputSelect(props) {
|
|
|
24727
24727
|
tradeIdRef: tradeIdRef.current,
|
|
24728
24728
|
form: form
|
|
24729
24729
|
});
|
|
24730
|
-
if (!(tradeId === tradeIdRef.current)) {
|
|
24731
|
-
_context2.next = 4;
|
|
24732
|
-
break;
|
|
24733
|
-
}
|
|
24734
|
-
return _context2.abrupt("return");
|
|
24735
|
-
case 4:
|
|
24736
24730
|
if (tradeId) {
|
|
24737
|
-
_context2.next =
|
|
24731
|
+
_context2.next = 5;
|
|
24738
24732
|
break;
|
|
24739
24733
|
}
|
|
24740
24734
|
setDataSource([]);
|
|
24741
24735
|
return _context2.abrupt("return");
|
|
24742
|
-
case
|
|
24736
|
+
case 5:
|
|
24743
24737
|
setSpinning(true);
|
|
24744
24738
|
typeMap$6[type].asyncGetData(tradeId).then(function (data) {
|
|
24745
24739
|
setDataSource(data);
|
|
24746
|
-
if (data.length > 0) {
|
|
24747
|
-
tradeIdRef.current = tradeId;
|
|
24748
|
-
}
|
|
24749
24740
|
}).catch(function () {
|
|
24750
24741
|
setDataSource([]);
|
|
24751
24742
|
}).finally(function () {
|
|
24752
24743
|
setSpinning(false);
|
|
24753
24744
|
});
|
|
24754
|
-
case
|
|
24745
|
+
case 7:
|
|
24755
24746
|
case "end":
|
|
24756
24747
|
return _context2.stop();
|
|
24757
24748
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "2.0.79-beta.
|
|
3
|
+
"version": "2.0.79-beta.73",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "78332dfd38460db2c23f7e96b8fcc6cf96e08510"
|
|
70
70
|
}
|