@zgfe/business-lib 1.0.21-cdp.2 → 1.0.21-cdp.3

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,6 +94,9 @@ var BizSelect = function BizSelect(props) {
94
94
 
95
95
  setCurrent(getValue(props.value));
96
96
  }, [props.value]);
97
+ useEffect(function () {
98
+ setCurrent(undefined);
99
+ }, [props.options]);
97
100
 
98
101
  var getValue = function getValue(data) {
99
102
  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.2",
3
+ "version": "1.0.21-cdp.3",
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": "62f2f86ad7967f249b38e6f556342493e8927955"
61
+ "gitHead": "503dca03dfb6cf5a5392b67a5399a8df132bc0fa"
62
62
  }