@deepinnet-components/pc 0.0.3 → 0.0.4

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.
@@ -235,19 +235,19 @@ var AddressSelect = function AddressSelect(props) {
235
235
  useEffect(function () {
236
236
  if (onSelectedOptionsChange) {
237
237
  if ((value === null || value === void 0 ? void 0 : value.length) === 3) {
238
- var _item1$children, _item2$children;
238
+ var _item1$children, _item1$children2, _item2$children, _item2$children2;
239
239
  var v1 = value[0];
240
240
  var v2 = value[1];
241
241
  var v3 = value[2];
242
- var item1 = addressList.find(function (item) {
242
+ var item1 = addressList === null || addressList === void 0 ? void 0 : addressList.find(function (item) {
243
243
  return item.value === v1;
244
244
  });
245
245
  if (!item1 || !((_item1$children = item1.children) !== null && _item1$children !== void 0 && _item1$children.length)) return undefined;
246
- var item2 = item1.children.find(function (item) {
246
+ var item2 = (_item1$children2 = item1.children) === null || _item1$children2 === void 0 ? void 0 : _item1$children2.find(function (item) {
247
247
  return item.value === v2;
248
248
  });
249
249
  if (!item2 || !((_item2$children = item2.children) !== null && _item2$children !== void 0 && _item2$children.length)) return undefined;
250
- var item3 = item2.children.find(function (item) {
250
+ var item3 = (_item2$children2 = item2.children) === null || _item2$children2 === void 0 ? void 0 : _item2$children2.find(function (item) {
251
251
  return item.value === v3;
252
252
  });
253
253
  if (!item3) return undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",