lu-lowcode-package-form 0.10.50 → 0.10.51

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lu-lowcode-package-form",
3
- "version": "0.10.50",
3
+ "version": "0.10.51",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
@@ -31,15 +31,15 @@ const SearchSelect = forwardRef(({ addWrapper = true, form, fieldName, fieldsVal
31
31
  // initData(requestParams)
32
32
  // }, [requestParams, fieldsValue])
33
33
 
34
- // useEffect(() => {
35
- // console.log("SearchSelect useEffect fieldsValue", fieldsValue)
36
- // initData(requestParams)
37
- // }, [fieldsValue])
38
-
39
34
  useEffect(() => {
40
- console.log("SearchSelect useEffect requestParams", requestParams)
35
+ console.log("SearchSelect useEffect fieldsValue", fieldsValue)
41
36
  initData(requestParams)
42
- }, [requestParams])
37
+ }, [fieldsValue])
38
+
39
+ // useEffect(() => {
40
+ // console.log("SearchSelect useEffect requestParams", requestParams)
41
+ // initData(requestParams)
42
+ // }, [requestParams])
43
43
  // useEffect(()=>{
44
44
  // console.log("SearchSelect useEffect []")
45
45
  // },[])
@@ -70,6 +70,7 @@ const SearchSelect = forwardRef(({ addWrapper = true, form, fieldName, fieldsVal
70
70
  }
71
71
  }
72
72
  const initData = async (params) => {
73
+
73
74
  let item = null
74
75
  const ruleParams = {}
75
76
  if (request && typeof request === 'function') {