lu-lowcode-package-form 0.11.44 → 0.11.45
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/dist/index.cjs.js +184 -184
- package/dist/index.es.js +13121 -13119
- package/package.json +1 -1
- package/src/components/field/select/search-select.jsx +2 -0
package/package.json
CHANGED
@@ -161,6 +161,7 @@ const SearchSelect = forwardRef(({ addWrapper = true, form, fieldName, fieldsVal
|
|
161
161
|
if (!(ruleParams && Object.values(ruleParams).some(value => value === "##norequest##"))) {
|
162
162
|
setFetching(true)
|
163
163
|
const response = await request({ ...params, ruleParams }, form, newFieldName);
|
164
|
+
console.log(`[${props?.label}]fetchList response`, response)
|
164
165
|
setFetching(false)
|
165
166
|
if (response.code > 0) {
|
166
167
|
callError && typeof callError === 'function' && callError(response.message);
|
@@ -184,6 +185,7 @@ const SearchSelect = forwardRef(({ addWrapper = true, form, fieldName, fieldsVal
|
|
184
185
|
list[index] = { ...item, label: item[option_label], value: item[option_value] }
|
185
186
|
}
|
186
187
|
if (nOptions.length > 0 && !isEqual(nOptions, list)) {
|
188
|
+
console.log(`[${props?.label}]handleOptions onChange(undefined)`)
|
187
189
|
typeof onChange === 'function' && onChange(undefined)
|
188
190
|
}
|
189
191
|
}
|