diff --git a/components/result/index.en-US.md b/components/result/index.en-US.md index 82d57a614..24aa06245 100644 --- a/components/result/index.en-US.md +++ b/components/result/index.en-US.md @@ -15,8 +15,8 @@ Use when important operations need to inform the user to process the results and | Property | Description | Type | Default | | | | | | | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| extra | operating area | #extra | - | | | | | | | -| icon | custom back icon | #icon | - | | | | | | | -| status | result status,decide icons and colors | \`'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500'\` | 'info' | -| subTitle | subTitle string | string \| VNode \| #subTitle | - | | | | | | | -| title | title string | string \| VNode \| #title | - | | | | | | | +| extra | operating area | slot | - | | | | | | | +| icon | custom back icon | slot | - | | | | | | | +| status | result status,decide icons and colors | `success` \| `error` \| `info` \| `warning` \| `404` \| `403` \| `500` | 'info' | +| subTitle | subTitle string | string \| VNode \| slot | - | | | | | | | +| title | title string | string \| VNode \| slot | - | | | | | | | diff --git a/components/result/index.zh-CN.md b/components/result/index.zh-CN.md index 6144f8234..13e99a9e3 100644 --- a/components/result/index.zh-CN.md +++ b/components/result/index.zh-CN.md @@ -16,8 +16,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/9nepwjaLa/Result.svg | 参数 | 说明 | 类型 | 默认值 | | | | | | | | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| extra | 操作区 | #extra | - | | | | | | | -| icon | 自定义 icon | #icon | - | | | | | | | -| status | 结果的状态,决定图标和颜色 | \`'success' | 'error' | 'info' | 'warning' | '404' | '403' | '500'\` | 'info' | -| subTitle | subTitle 文字 | string \| VNode \| #subTitle | - | | | | | | | -| title | title 文字 | string \| VNode \| #title | - | | | | | | | +| extra | 操作区 | slot | - | | | | | | | +| icon | 自定义 icon | slot | - | | | | | | | +| status | 结果的状态,决定图标和颜色 | `success` \| `error` \| `info` \| `warning` \| `404` \| `403` \| `500` | 'info' | +| subTitle | subTitle 文字 | string \| VNode \| slot | - | | | | | | | +| title | title 文字 | string \| VNode \| slot | - | | | | | | |