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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lu-lowcode-package-form",
3
- "version": "0.11.44",
3
+ "version": "0.11.45",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
@@ -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
  }