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/dist/index.cjs.js +202 -202
- package/dist/index.es.js +14979 -14982
- package/package.json +1 -1
- package/src/components/form-container/index.jsx +3 -1
package/package.json
CHANGED
@@ -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);
|