wxw
2025-05-12 c7c2f7aa20427204944ba80a2704232b2f281582
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Type definitions for iview 3.3.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
 
export declare class Steps extends Vue {
  /**
   * 当前步骤,从 0 开始计数
   * @default 0
   */
  current?: number;
  /**
   * 当前步骤的状态,可选值为wait、process、finish、error
   * @default process
   */
  status?: 'wait' | 'process' | 'finish' | 'error';
  /**
   * 步骤条的尺寸,可选值为small或者不写
   */
  size?: '' | 'small';
  /**
   * 步骤条的方向,可选值为horizontal(水平)或vertical(垂直)
   * @default horizontal
   */
  direction?: 'horizontal' | 'vertical';
}
 
export declare class StepsStep extends Vue {
  /**
   * 步骤的状态,可选值为wait、process、finish、error,不设置时自动判断
   * @default process
   */
  status?: 'wait' | 'process' | 'finish' | 'error';
  /**
   * 标题
   * @default 空
   */
  title?: string;
  /**
   * 步骤的详细描述,可选
   */
  content?: string;
  /**
   * 步骤的图标,可选
   */
  icon?: string;
}