iter(g66): verify 反向校验入参接口字段均已登记文档

This commit is contained in:
HIsheR
2026-10-26 12:34:23 +08:00
parent 31442958ce
commit 805b54d035
5 changed files with 54 additions and 4 deletions
+7
View File
@@ -469,6 +469,7 @@
{
"id": "switchButton",
"title": "开关 Switch",
"propsType": "SwitchProps",
"demo": "sec-form",
"props": [
{
@@ -1475,6 +1476,11 @@
"t": "'input' | 'blur' | 'submit'",
"d": "校验时机;缺省 blur(输入时自动清已报错误)",
"df": "blur"
},
{
"n": "onReset",
"t": "() => void",
"d": "重置按钮点击回调;组件不自行清空字段,由调用方重置信号;不传 resetText 不渲染按钮"
}
],
"example": "const name = signal(''); const f = form({ onSubmit: submit }, [formItem({ label: '用户名', required: true, value: name, rules: [{ min: 2, max: 12 }] }, textField({ value: name }))])",
@@ -1495,6 +1501,7 @@
{
"id": "dataTable",
"title": "数据表格 DataTable",
"propsType": "DataTableProps",
"demo": "sec-table",
"props": [
{