fix: update spin steps
parent
ac7cf55bcf
commit
6b5c0a404b
|
@ -41,10 +41,11 @@ export default {
|
|||
}),
|
||||
data () {
|
||||
const { spinning, delay } = this
|
||||
this.debounceTimeout = null
|
||||
this.delayTimeout = null
|
||||
return {
|
||||
sSpinning: spinning && !shouldDelay(spinning, delay),
|
||||
debounceTimeout: null,
|
||||
delayTimeout: null,
|
||||
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
|
|
@ -34,13 +34,13 @@ const Steps = {
|
|||
const props = getOptionProps(this)
|
||||
const { prefixCls } = props
|
||||
const icons = {
|
||||
finish: <Icon type='check' className={`${prefixCls}-finish-icon`} />,
|
||||
error: <Icon type='close' className={`${prefixCls}-error-icon`} />,
|
||||
finish: <Icon type='check' class={`${prefixCls}-finish-icon`} />,
|
||||
error: <Icon type='close' class={`${prefixCls}-error-icon`} />,
|
||||
}
|
||||
const stepsProps = {
|
||||
props: {
|
||||
...props,
|
||||
icons,
|
||||
...props,
|
||||
},
|
||||
on: this.$listeners,
|
||||
scopedSlots: this.$scopedSlots,
|
||||
|
|
Loading…
Reference in New Issue