amis2/docs/renderers/Form/Rating.md
2019-07-04 16:22:24 +08:00

19 lines
291 B
Markdown

### Rating
评分
- `type` 请设置成 `rating`
- `half` 是否使用半星选择
- `count` 共有多少星可供选择
- `readOnly` 只读
```schema:height="200" scope="form-item"
{
"type": "rating",
"name": "rating",
"label": "评分",
"count": 5,
"half": true
}
```