mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 09:21:13 +08:00
32 lines
597 B
Markdown
32 lines
597 B
Markdown
|
---
|
||
|
title: Status 状态
|
||
|
description:
|
||
|
type: 0
|
||
|
group: ⚙ 组件
|
||
|
menuName: Status
|
||
|
icon:
|
||
|
order: 65
|
||
|
---
|
||
|
|
||
|
## 基本用法
|
||
|
|
||
|
```schema:height="200" scope="body"
|
||
|
{
|
||
|
"type": "status",
|
||
|
"value": 1
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## 属性表
|
||
|
|
||
|
| 属性名 | 类型 | 默认值 | 说明 |
|
||
|
| ----------- | -------- | ------ | ------------------------------- |
|
||
|
| type | `string` | | `"status"` 指定为 Status 渲染器 |
|
||
|
| className | `string` | | 外层 Dom 的类名 |
|
||
|
| placeholder | `string` | `-` | 占位文本 |
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|