lu-lowcode-package-form 0.11.98 → 0.11.99

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.98",
3
+ "version": "0.11.99",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^4.8.1",
6
6
  "@dnd-kit/core": "^6.1.0",
@@ -690,7 +690,10 @@ const FormContainer = forwardRef(({ cols = 1, children, mode = "view" }, ref) =>
690
690
  }
691
691
 
692
692
  if (formula && formula.length > 0) {
693
- const __current = fieldValues[childIdentifier]
693
+ let __fieldValues = form.getFieldsValue()
694
+ console.log("__fieldValues", __fieldValues)
695
+ console.log("childIdentifier", childIdentifier)
696
+ const __current = __fieldValues[childIdentifier]
694
697
  const formulaResult = evalFormula(formula, __current);
695
698
  console.log(`${childIdentifier} 计算公式:`, formula)
696
699
  console.log(`${childIdentifier} 计算结果:`, formulaResult)