Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(steps): optimization of steps docs #1474

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/sites/demos/apis/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default {
},
{
name: 'data',
typeAnchorName: 'IStepsItem[]',
type: 'IStepsItem',
typeAnchorName: 'IStepsItem',
type: 'IStepsItem[]',
defaultValue: '[]',
desc: {
'zh-CN': '步骤条的数据',
Expand Down Expand Up @@ -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 // 节点右上角徽标计数,仅用于默认条形步骤条
}
`
},
Expand Down
Loading