mirror of https://github.com/ElemeFE/element
修改slider组件聚焦状态
parent
2f4f6962c6
commit
ed51d208a3
|
@ -226,7 +226,9 @@
|
||||||
value = parseFloat(value.toFixed(this.precision));
|
value = parseFloat(value.toFixed(this.precision));
|
||||||
this.$emit('input', value);
|
this.$emit('input', value);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
if (this.hovering) {
|
||||||
this.displayTooltip();
|
this.displayTooltip();
|
||||||
|
}
|
||||||
this.$refs.tooltip && this.$refs.tooltip.updatePopper();
|
this.$refs.tooltip && this.$refs.tooltip.updatePopper();
|
||||||
});
|
});
|
||||||
if (!this.dragging && this.value !== this.oldValue) {
|
if (!this.dragging && this.value !== this.oldValue) {
|
||||||
|
|
Loading…
Reference in New Issue