修改slider组件聚焦状态

pull/21816/head
liuaoin 2022-04-20 20:32:19 +08:00
parent 2f4f6962c6
commit ed51d208a3
1 changed files with 3 additions and 1 deletions

View File

@ -226,7 +226,9 @@
value = parseFloat(value.toFixed(this.precision));
this.$emit('input', value);
this.$nextTick(() => {
this.displayTooltip();
if (this.hovering) {
this.displayTooltip();
}
this.$refs.tooltip && this.$refs.tooltip.updatePopper();
});
if (!this.dragging && this.value !== this.oldValue) {