You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
836 B

import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 标题
title: {
type: [String, Number],
default: () => defProps.stepsItem.title
},
// 描述文本
desc: {
type: [String, Number],
default: () => defProps.stepsItem.desc
},
// 图标大小
iconSize: {
type: [String, Number],
default: () => defProps.stepsItem.iconSize
},
// 当前步骤是否处于失败状态
error: {
type: Boolean,
default: () => defProps.stepsItem.error
},
// 自定义样式
itemStyle: {
type: [Object],
default: {}
},
}
})