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',
|
||||
typeAnchorName: 'IStepsItem[]',
|
||||
type: 'IStepsItem',
|
||||
typeAnchorName: 'IStepsItem',
|
||||
type: 'IStepsItem[]',
|
||||
defaultValue: '[]',
|
||||
desc: {
|
||||
'zh-CN': '步骤条的数据',
|
||||
|
@ -227,11 +227,11 @@ export default {
|
|||
type: 'interface',
|
||||
code: `
|
||||
interface IStepsItem {
|
||||
// 条形步骤条数据项
|
||||
// 节点数据
|
||||
name: string, // 节点名称
|
||||
description: string, // 描述,仅用于单链型步骤条
|
||||
status: IStepsStatus, // 节点状态,取值见下面IStepsStatus类型说明
|
||||
count: number // 节点右上角徽标计数,仅用于默认条形步骤条
|
||||
status?: IStepsStatus, // 节点状态,取值见下面IStepsStatus类型说明
|
||||
description?: string, // 描述,仅用于单链型步骤条
|
||||
count?: number // 节点右上角徽标计数,仅用于默认条形步骤条
|
||||
}
|
||||
`
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue