@ -100,7 +100,8 @@
}
if (value > (this.max * scale)) {
value = this.max * scale
this.$emit("minus",value)
if (type === "plus") {
@ -110,7 +111,8 @@
if (value < (this.min * scale)) {
value = this.min * scale
this.$emit("plus",value)
this.inputValue = (value / scale).toFixed(String(scale).length - 1);
@ -144,7 +144,7 @@
},
mounted() {
this.focus = true
// this.focus = true
methods: {
/**
@ -22,7 +22,7 @@
name: "uni-tooltip",
data() {
return {
placement:'left'
};
@ -88,7 +88,7 @@
.uni-tooltip-popup {
z-index: 1;
z-index: 997;
display: none;
position: absolute;
background-color: #333;