fix slider
parent
6aa1966af0
commit
7563a81642
|
@ -85,7 +85,7 @@ export default {
|
|||
title: tipFormatter ? tipFormatter(value) : '',
|
||||
visible,
|
||||
placement: 'top',
|
||||
transitionName: 'zoom-down',
|
||||
transitionName: 'fade',
|
||||
},
|
||||
key: index,
|
||||
}
|
||||
|
|
|
@ -3,8 +3,6 @@ import addEventListener from '../../_util/Dom/addEventListener'
|
|||
import BaseMixin from '../../_util/BaseMixin'
|
||||
import { getOptionProps } from '../../_util/props-util'
|
||||
|
||||
function noop () {}
|
||||
|
||||
export default {
|
||||
name: 'Handle',
|
||||
mixins: [BaseMixin],
|
||||
|
|
|
@ -51,11 +51,11 @@ export default function createSliderWithTooltip (Component) {
|
|||
|
||||
const tooltipProps = {
|
||||
props: {
|
||||
...restTooltipProps,
|
||||
prefixCls,
|
||||
overlay,
|
||||
placement,
|
||||
visible: (!disabled && (this.visibles[index] || dragging)) || visible,
|
||||
...restTooltipProps,
|
||||
},
|
||||
key: index,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue