Skip to content

FmMultiStepLoader 多步骤加载器 专业版 v1.2.0

Props

属性名说明类型默认值
loading是否加载中booleanfalse
steps步骤数组Step[][]
preventClose是否阻止关闭booleanfalse
ts
interface Step {
  text: string // 步骤文本
  afterText?: string // 步骤完成后的文本
  name?: string // 步骤返回数据对象名称
  action?: (context: StepContext) => Promise<any> // 步骤执行的函数
}