lu-lowcode-package-form 0.11.3 → 0.11.4

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.3",
3
+ "version": "0.11.4",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
@@ -413,8 +413,10 @@ const FormContainer = forwardRef(({ cols = 1, children, mode = "view" }, ref) =>
413
413
  if (dependencyMap.current.has(childIdentifier)) {
414
414
  const childData = dependencyMap.current.get(childIdentifier);
415
415
  if (formula && formula.length > 0) {
416
- console.log(`${childIdentifier} 计算公式:`, formula)
417
416
  const formulaResult = (evalFormula(formula) == "true");
417
+ console.log(`${childIdentifier} 计算公式:`, formula)
418
+ console.log(`${childIdentifier} 计算结果:`, formulaResult)
419
+ console.log(`${childIdentifier} childData.show:`, childData.show)
418
420
  if (childData.show != formulaResult) {
419
421
  childData.show = formulaResult;
420
422
  dependencyMap.current.set(childIdentifier, childData);