fix slider

pull/165/head
tjz 2018-04-14 17:27:50 +08:00
parent 1173a91584
commit 57f03b85fc
3 changed files with 2 additions and 4 deletions

View File

@ -85,7 +85,7 @@ export default {
title: tipFormatter ? tipFormatter(value) : '',
visible,
placement: 'top',
transitionName: 'zoom-down',
transitionName: 'fade',
},
key: index,
}

View File

@ -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],

View File

@ -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,
}