结果展示组件
- Source:
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
title |
string |
<optional> |
标题文本,复杂内容用插槽定义 |
|
subtitle |
string |
<optional> |
副标题文本,复杂内容用插槽定义 |
|
status |
string |
<optional> |
info
|
结果的状态,决定图标和颜色, 可选值:'success', 'error', 'info', 'warning', '404', '403', '500' |
icon |
string | object |
<optional> |
图标名称或my-icon组件配置对象 |
属性参数
(inner) slots
- Source:
Properties:
Name | Type | Description |
---|---|---|
default |
string | 默认插槽,定义附加内容 |
icon |
string | 定义个性化图标内容 |
title |
string | 定义标题 |
subtitle |
string | 定义副标题 |
extra |
string | 定义额外内容,通常用作定义操作按钮 |
插槽