feat(validate): 递归校验引擎(校验下沉到任意深度)

childrenOf(field,value): tab 选中分支 fields / object fields / array 元素套 item → 子(字段,值)对。
validateNode 递归: 每节点跑 validateField,出错即抛(带 path),再下钻复合。
接入 prepareAddItem/prepareEditItem(替原顶层 validateField)。第一版 fail-fast,
嵌套错 message 缀 [path] 定位。默认/transform 下沉、collect-all、inline 标红留后续。
This commit is contained in:
2026-06-30 14:49:48 +08:00
parent 6383aade98
commit 24afc42de9
3 changed files with 257 additions and 174 deletions
+203 -162
View File
File diff suppressed because it is too large Load Diff