forked from opentiny/tiny-vue
docs(steps): optimization of steps docs (#1474)
This commit is contained in:
parent
5d9f44423c
commit
d72a5f381a
|
@ -41,8 +41,8 @@ export default {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'data',
|
name: 'data',
|
||||||
typeAnchorName: 'IStepsItem[]',
|
typeAnchorName: 'IStepsItem',
|
||||||
type: 'IStepsItem',
|
type: 'IStepsItem[]',
|
||||||
defaultValue: '[]',
|
defaultValue: '[]',
|
||||||
desc: {
|
desc: {
|
||||||
'zh-CN': '步骤条的数据',
|
'zh-CN': '步骤条的数据',
|
||||||
|
@ -227,11 +227,11 @@ export default {
|
||||||
type: 'interface',
|
type: 'interface',
|
||||||
code: `
|
code: `
|
||||||
interface IStepsItem {
|
interface IStepsItem {
|
||||||
// 条形步骤条数据项
|
// 节点数据
|
||||||
name: string, // 节点名称
|
name: string, // 节点名称
|
||||||
description: string, // 描述,仅用于单链型步骤条
|
status?: IStepsStatus, // 节点状态,取值见下面IStepsStatus类型说明
|
||||||
status: IStepsStatus, // 节点状态,取值见下面IStepsStatus类型说明
|
description?: string, // 描述,仅用于单链型步骤条
|
||||||
count: number // 节点右上角徽标计数,仅用于默认条形步骤条
|
count?: number // 节点右上角徽标计数,仅用于默认条形步骤条
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue