mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
docs 调整
This commit is contained in:
parent
afc7800af8
commit
f8163baf5e
@ -1,4 +1,4 @@
|
|||||||
### Array
|
## Array
|
||||||
|
|
||||||
数组输入框配置
|
数组输入框配置
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Button-Group(FormItem)
|
## Button-Group(FormItem)
|
||||||
|
|
||||||
按钮集合,直接看示例吧。
|
按钮集合,直接看示例吧。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Button-Toolbar
|
## Button-Toolbar
|
||||||
|
|
||||||
从上面的例子可以看出,当按钮独立配置的时候,是独占一行的,如果想让多个按钮在一起放置,可以利用 button-toolbar
|
从上面的例子可以看出,当按钮独立配置的时候,是独占一行的,如果想让多个按钮在一起放置,可以利用 button-toolbar
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Button
|
## Button
|
||||||
|
|
||||||
按钮, 包含 `button`、`submit` 和 `reset`。 字段说明。
|
按钮, 包含 `button`、`submit` 和 `reset`。 字段说明。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Chained-Select
|
## Chained-Select
|
||||||
|
|
||||||
无限级别下拉,只支持单选,且必须和 `source` 搭配,通过 API 拉取数据,只要 API 有返回结果,就能一直无限级别下拉下去。
|
无限级别下拉,只支持单选,且必须和 `source` 搭配,通过 API 拉取数据,只要 API 有返回结果,就能一直无限级别下拉下去。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Checkbox
|
## Checkbox
|
||||||
|
|
||||||
勾选框
|
勾选框
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Checkboxes
|
## Checkboxes
|
||||||
|
|
||||||
复选框
|
复选框
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### City
|
## City
|
||||||
|
|
||||||
城市选择器,可用于让用户输入城市。
|
城市选择器,可用于让用户输入城市。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Color
|
## Color
|
||||||
|
|
||||||
颜色选择器。
|
颜色选择器。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Combo
|
## Combo
|
||||||
|
|
||||||
组合模式,支持自由组合多个表单项。
|
组合模式,支持自由组合多个表单项。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Date-Range
|
## Date-Range
|
||||||
|
|
||||||
日期范围类型。
|
日期范围类型。
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
### Date
|
## Date
|
||||||
|
|
||||||
日期类型。
|
日期类型。
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Panel',
|
label: 'Panel',
|
||||||
path: '/docs/renderers/form/Panel',
|
path: '/docs/renderers/Form/Panel',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Panel.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Panel.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
@ -125,7 +125,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Text',
|
label: 'Text',
|
||||||
path: '/docs/renderers/form/Text',
|
path: '/docs/renderers/Form/Text',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Text.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Text.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
@ -195,7 +195,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Checkboxes',
|
label: 'Checkboxes',
|
||||||
path: '/docs/renderers/form/Checkboxes',
|
path: '/docs/renderers/Form/Checkboxes',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Checkboxes.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Checkboxes.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
@ -230,7 +230,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Datetime',
|
label: 'Datetime',
|
||||||
path: '/docs/renderers/form/Datetime',
|
path: '/docs/renderers/Form/Datetime',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Datetime.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Datetime.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
@ -265,14 +265,14 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Image',
|
label: 'Image',
|
||||||
path: '/docs/renderers/form/Image',
|
path: '/docs/renderers/Form/Image',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Image.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Image.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'File',
|
label: 'File',
|
||||||
path: '/docs/renderers/form/File',
|
path: '/docs/renderers/Form/File',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/File.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/File.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
@ -384,7 +384,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Editor',
|
label: 'Editor',
|
||||||
path: '/docs/renderers/form/Editor',
|
path: '/docs/renderers/Form/Editor',
|
||||||
getComponent: (location, cb) => require(['../../docs/renderers/Form/Editor.md'], (doc) => {
|
getComponent: (location, cb) => require(['../../docs/renderers/Form/Editor.md'], (doc) => {
|
||||||
cb(null, makeMarkdownRenderer(doc));
|
cb(null, makeMarkdownRenderer(doc));
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user