lu-lowcode-package-form 0.11.17 → 0.11.18

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.17",
3
+ "version": "0.11.18",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
@@ -71,7 +71,7 @@ const Table = ({ children, onTableAddRow, disabled, readonly, onTableRemoveRow,
71
71
  const getDependencyMapShow = (identifier) => {
72
72
  if (typeof getDependencyMapItem == "function") {
73
73
  const dependencyMapItem = getDependencyMapItem(`${tableComponentId}.${identifier}`)
74
- return dependencyMapItem?.show
74
+ if (dependencyMapItem) return dependencyMapItem?.show
75
75
  }
76
76
  return true
77
77
  }
@@ -14,8 +14,7 @@ const LayoutFormRow = ({ children, layout, onTableAddRow, onTableRemoveRow, form
14
14
  const getDependencyMapShow = (identifier) => {
15
15
  if (typeof getDependencyMapItem == "function") {
16
16
  const dependencyMapItem = getDependencyMapItem(identifier)
17
- // console.log("LayoutFormRow dependencyMapItem",dependencyMapItem)
18
- return dependencyMapItem?.show
17
+ if (dependencyMapItem) return dependencyMapItem?.show
19
18
  }
20
19
  return true
21
20
  }