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.

26 lines
724 B

4 months ago
  1. import { defineMixin } from '../../libs/vue'
  2. import defProps from '../../libs/config/props.js'
  3. export const props = defineMixin({
  4. props: {
  5. // 标题
  6. title: {
  7. type: [String, Number],
  8. default: () => defProps.stepsItem.title
  9. },
  10. // 描述文本
  11. desc: {
  12. type: [String, Number],
  13. default: () => defProps.stepsItem.desc
  14. },
  15. // 图标大小
  16. iconSize: {
  17. type: [String, Number],
  18. default: () => defProps.stepsItem.iconSize
  19. },
  20. // 当前步骤是否处于失败状态
  21. error: {
  22. type: Boolean,
  23. default: () => defProps.stepsItem.error
  24. }
  25. }
  26. })