cloud-b2b 1.1.5 → 1.1.6

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/es/Area/Area.js CHANGED
@@ -151,7 +151,7 @@ var Area = /*#__PURE__*/function (_React$Component) {
151
151
  onSearch: _bindInstanceProperty(_context2 = _this2.onSearch).call(_context2, _this2, item.key, item, parentKey),
152
152
  onChange: _bindInstanceProperty(_context3 = _this2.onChange).call(_context3, _this2, item.key),
153
153
  options: childOptions,
154
- value: value[item.key].title ? value[item.key].title : value[item.key],
154
+ value: value[item.key] && value[item.key].title ? value[item.key].title : value[item.key],
155
155
  type: readonly ? 'readonly' : item.type
156
156
  });
157
157
 
package/lib/Area/Area.js CHANGED
@@ -179,7 +179,7 @@ var Area = /*#__PURE__*/function (_React$Component) {
179
179
  onSearch: (0, _bind["default"])(_context2 = _this2.onSearch).call(_context2, _this2, item.key, item, parentKey),
180
180
  onChange: (0, _bind["default"])(_context3 = _this2.onChange).call(_context3, _this2, item.key),
181
181
  options: childOptions,
182
- value: value[item.key].title ? value[item.key].title : value[item.key],
182
+ value: value[item.key] && value[item.key].title ? value[item.key].title : value[item.key],
183
183
  type: readonly ? 'readonly' : item.type
184
184
  });
185
185
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",