@zgfe/business-lib 1.0.21-cdp.4 → 1.0.21-cdp.5

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.
@@ -94,13 +94,6 @@ var BizSelect = function BizSelect(props) {
94
94
 
95
95
  setCurrent(getValue(props.value));
96
96
  }, [props.value]);
97
- useEffect(function () {
98
- var valid = false;
99
- props.options.forEach(function (item) {
100
- if (current && item[props.keyField] === current[props.keyField]) valid = true;
101
- });
102
- if (!valid) setCurrent(undefined);
103
- }, [props.options]);
104
97
 
105
98
  var getValue = function getValue(data) {
106
99
  if (props.multiple) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.0.21-cdp.4",
3
+ "version": "1.0.21-cdp.5",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -58,5 +58,5 @@
58
58
  "react": "^16.12.0 || ^17.0.0",
59
59
  "yorkie": "^2.0.0"
60
60
  },
61
- "gitHead": "8e93c85ca8036cffd2fa7ec3562ae142214ecc4c"
61
+ "gitHead": "98993413fce9158fa9f23ebcc05baec314ab8a53"
62
62
  }