From f8163baf5e2cbadc4121d3eb30dd771d46434b3a Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Tue, 4 Jun 2019 10:11:24 +0800 Subject: [PATCH] =?UTF-8?q?docs=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/renderers/Form/Array.md | 2 +- docs/renderers/Form/Button-Group.md | 2 +- docs/renderers/Form/Button-Toolbar.md | 2 +- docs/renderers/Form/Button.md | 2 +- docs/renderers/Form/Chained-Select.md | 2 +- docs/renderers/Form/Checkbox.md | 2 +- docs/renderers/Form/Checkboxes.md | 2 +- docs/renderers/Form/City.md | 2 +- docs/renderers/Form/Color.md | 2 +- docs/renderers/Form/Combo.md | 2 +- docs/renderers/Form/Date-Range.md | 2 +- docs/renderers/Form/Date.md | 2 +- docs/renderers/{ => Form}/Image.md | 0 examples/components/Doc.jsx | 14 +++++++------- 14 files changed, 19 insertions(+), 19 deletions(-) rename docs/renderers/{ => Form}/Image.md (100%) diff --git a/docs/renderers/Form/Array.md b/docs/renderers/Form/Array.md index f15fcfbc..2a7b276f 100644 --- a/docs/renderers/Form/Array.md +++ b/docs/renderers/Form/Array.md @@ -1,4 +1,4 @@ -### Array +## Array 数组输入框配置 diff --git a/docs/renderers/Form/Button-Group.md b/docs/renderers/Form/Button-Group.md index e63269ad..5f7c183c 100644 --- a/docs/renderers/Form/Button-Group.md +++ b/docs/renderers/Form/Button-Group.md @@ -1,4 +1,4 @@ -### Button-Group(FormItem) +## Button-Group(FormItem) 按钮集合,直接看示例吧。 diff --git a/docs/renderers/Form/Button-Toolbar.md b/docs/renderers/Form/Button-Toolbar.md index 4817d840..d6bbfe65 100644 --- a/docs/renderers/Form/Button-Toolbar.md +++ b/docs/renderers/Form/Button-Toolbar.md @@ -1,4 +1,4 @@ -### Button-Toolbar +## Button-Toolbar 从上面的例子可以看出,当按钮独立配置的时候,是独占一行的,如果想让多个按钮在一起放置,可以利用 button-toolbar diff --git a/docs/renderers/Form/Button.md b/docs/renderers/Form/Button.md index bd24157b..58c87979 100644 --- a/docs/renderers/Form/Button.md +++ b/docs/renderers/Form/Button.md @@ -1,4 +1,4 @@ -### Button +## Button 按钮, 包含 `button`、`submit` 和 `reset`。 字段说明。 diff --git a/docs/renderers/Form/Chained-Select.md b/docs/renderers/Form/Chained-Select.md index c78e9529..d4b814a4 100644 --- a/docs/renderers/Form/Chained-Select.md +++ b/docs/renderers/Form/Chained-Select.md @@ -1,4 +1,4 @@ -### Chained-Select +## Chained-Select 无限级别下拉,只支持单选,且必须和 `source` 搭配,通过 API 拉取数据,只要 API 有返回结果,就能一直无限级别下拉下去。 diff --git a/docs/renderers/Form/Checkbox.md b/docs/renderers/Form/Checkbox.md index e0947b5d..29006f1d 100644 --- a/docs/renderers/Form/Checkbox.md +++ b/docs/renderers/Form/Checkbox.md @@ -1,4 +1,4 @@ -### Checkbox +## Checkbox 勾选框 diff --git a/docs/renderers/Form/Checkboxes.md b/docs/renderers/Form/Checkboxes.md index 12312039..859ad4e8 100644 --- a/docs/renderers/Form/Checkboxes.md +++ b/docs/renderers/Form/Checkboxes.md @@ -1,4 +1,4 @@ -### Checkboxes +## Checkboxes 复选框 diff --git a/docs/renderers/Form/City.md b/docs/renderers/Form/City.md index b5383715..cc81c38a 100644 --- a/docs/renderers/Form/City.md +++ b/docs/renderers/Form/City.md @@ -1,4 +1,4 @@ -### City +## City 城市选择器,可用于让用户输入城市。 diff --git a/docs/renderers/Form/Color.md b/docs/renderers/Form/Color.md index 3fb47ebc..6827345a 100644 --- a/docs/renderers/Form/Color.md +++ b/docs/renderers/Form/Color.md @@ -1,4 +1,4 @@ -### Color +## Color 颜色选择器。 diff --git a/docs/renderers/Form/Combo.md b/docs/renderers/Form/Combo.md index 1a925237..ce6327ef 100644 --- a/docs/renderers/Form/Combo.md +++ b/docs/renderers/Form/Combo.md @@ -1,4 +1,4 @@ -### Combo +## Combo 组合模式,支持自由组合多个表单项。 diff --git a/docs/renderers/Form/Date-Range.md b/docs/renderers/Form/Date-Range.md index 813f8c30..caf03d61 100644 --- a/docs/renderers/Form/Date-Range.md +++ b/docs/renderers/Form/Date-Range.md @@ -1,4 +1,4 @@ -### Date-Range +## Date-Range 日期范围类型。 diff --git a/docs/renderers/Form/Date.md b/docs/renderers/Form/Date.md index 5213bc23..e5d417b8 100644 --- a/docs/renderers/Form/Date.md +++ b/docs/renderers/Form/Date.md @@ -1,4 +1,4 @@ -### Date +## Date 日期类型。 diff --git a/docs/renderers/Image.md b/docs/renderers/Form/Image.md similarity index 100% rename from docs/renderers/Image.md rename to docs/renderers/Form/Image.md diff --git a/examples/components/Doc.jsx b/examples/components/Doc.jsx index c4ce1d83..0c0fbd58 100644 --- a/examples/components/Doc.jsx +++ b/examples/components/Doc.jsx @@ -111,7 +111,7 @@ export default { }, { label: 'Panel', - path: '/docs/renderers/form/Panel', + path: '/docs/renderers/Form/Panel', getComponent: (location, cb) => require(['../../docs/renderers/Form/Panel.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), @@ -125,7 +125,7 @@ export default { }, { label: 'Text', - path: '/docs/renderers/form/Text', + path: '/docs/renderers/Form/Text', getComponent: (location, cb) => require(['../../docs/renderers/Form/Text.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), @@ -195,7 +195,7 @@ export default { }, { label: 'Checkboxes', - path: '/docs/renderers/form/Checkboxes', + path: '/docs/renderers/Form/Checkboxes', getComponent: (location, cb) => require(['../../docs/renderers/Form/Checkboxes.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), @@ -230,7 +230,7 @@ export default { }, { label: 'Datetime', - path: '/docs/renderers/form/Datetime', + path: '/docs/renderers/Form/Datetime', getComponent: (location, cb) => require(['../../docs/renderers/Form/Datetime.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), @@ -265,14 +265,14 @@ export default { }, { label: 'Image', - path: '/docs/renderers/form/Image', + path: '/docs/renderers/Form/Image', getComponent: (location, cb) => require(['../../docs/renderers/Form/Image.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), }, { label: 'File', - path: '/docs/renderers/form/File', + path: '/docs/renderers/Form/File', getComponent: (location, cb) => require(['../../docs/renderers/Form/File.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }), @@ -384,7 +384,7 @@ export default { }, { label: 'Editor', - path: '/docs/renderers/form/Editor', + path: '/docs/renderers/Form/Editor', getComponent: (location, cb) => require(['../../docs/renderers/Form/Editor.md'], (doc) => { cb(null, makeMarkdownRenderer(doc)); }),