mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 01:11:15 +08:00
28 lines
562 B
Markdown
28 lines
562 B
Markdown
|
---
|
|||
|
title: Year 年份选择
|
|||
|
description:
|
|||
|
type: 0
|
|||
|
group: null
|
|||
|
menuName: Year 年份选择
|
|||
|
icon:
|
|||
|
order: 61
|
|||
|
---
|
|||
|
|
|||
|
## 基本用法
|
|||
|
|
|||
|
```schema: scope="body"
|
|||
|
{
|
|||
|
"type": "form",
|
|||
|
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/form/saveForm",
|
|||
|
"body": [
|
|||
|
{
|
|||
|
"type": "input-year",
|
|||
|
"name": "year",
|
|||
|
"label": "年份选择"
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
```
|
|||
|
|
|||
|
更多用法和配置可以参考 [InputDate 日期](input-date),year 就是 data 的特定配置,所以 data 的所有配置都能使用。
|