diff --git a/docs/examples/checkbox.md b/docs/examples/checkbox.md new file mode 100644 index 000000000..64a485a6a --- /dev/null +++ b/docs/examples/checkbox.md @@ -0,0 +1 @@ +## Checkbox组件 \ No newline at end of file diff --git a/docs/examples/field.md b/docs/examples/field.md new file mode 100644 index 000000000..9aa26efa9 --- /dev/null +++ b/docs/examples/field.md @@ -0,0 +1 @@ +## Field组件 diff --git a/docs/examples/radio.md b/docs/examples/radio.md new file mode 100644 index 000000000..75a86f5f0 --- /dev/null +++ b/docs/examples/radio.md @@ -0,0 +1 @@ +## Radio组件 diff --git a/docs/nav.config.json b/docs/nav.config.json index 401945ae3..591cb03af 100644 --- a/docs/nav.config.json +++ b/docs/nav.config.json @@ -13,10 +13,27 @@ { "path": "/button", "title": "Button组件" - }, + } + ] + }, + { + "groupName": "Form", + "list": [ { "path": "/switch", "title": "Switch组件" + }, + { + "path": "/field", + "title": "Field组件" + }, + { + "path": "/radio", + "title": "Radio组件" + }, + { + "path": "/checkbox", + "title": "Checkbox组件" } ] } diff --git a/packages/field/src/field.vue b/packages/field/src/field.vue index 5c85aebfd..ca9543abe 100644 --- a/packages/field/src/field.vue +++ b/packages/field/src/field.vue @@ -1,7 +1,11 @@