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/dist/index.cjs.js +234 -234
- package/dist/index.es.js +17084 -17082
- package/package.json +1 -1
- package/src/components/field/select/search-select.jsx +8 -7
package/package.json
CHANGED
@@ -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
|
-
|
35
|
+
console.log("SearchSelect useEffect fieldsValue", fieldsValue)
|
41
36
|
initData(requestParams)
|
42
|
-
}, [
|
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') {
|