Step

展示工作流中的进度。

使用

  1. <m-step
  2. items="[
  3. { name: 'Finished', description: 'This is a description.', state: 0 },
  4. { name: 'In Progress', description: 'This is a description.', state: 2 },
  5. { name: 'Waiting', description: 'This is a description.', state: 3 }
  6. ]"
  7. vertical >
  8. </m-step>

API

Props

  1. {
  2. items: object,
  3. vertical?: boolean
  4. }