yxw 2023-11-23 12:08:26 +08:00
parent 27bcc35d59
commit 1f53b7c9de
1 changed files with 9 additions and 9 deletions

View File

@ -1365,9 +1365,9 @@
if (number == -0) { if (number == -0) {
number = 0 number = 0
} }
console.log(number, lineinputValue.toFixed(1), typeof (number), typeof (lineinputValue)) console.log(number, lineinputValue, typeof (number), typeof (lineinputValue))
if (number != lineinputValue.toFixed(1) && isInput == false) { if (number != lineinputValue && isInput == false) {
changeInputValue('lineinput', number.toFixed(1)) changeInputValue('lineinput', number)
} }
} }
@ -1407,8 +1407,8 @@
if (number == -0) { if (number == -0) {
number = 0 number = 0
} }
console.log(number, mic1Value.toFixed(1), typeof (number), typeof (mic1Value)) console.log(number, mic1Value, typeof (number), typeof (mic1Value))
if (mic1Value.toFixed(1) != number && isInput == false) { if (mic1Value != number && isInput == false) {
changeInputValue('mic1', number) changeInputValue('mic1', number)
} }
} }
@ -1451,8 +1451,8 @@
if (number == -0) { if (number == -0) {
number = 0 number = 0
} }
console.log(number, mic2Value.toFixed(1), typeof (number), typeof (mic2Value)) console.log(number, mic2Value, typeof (number), typeof (mic2Value))
if (mic2Value.toFixed(1) != number && isInput == false) { if (mic2Value != number && isInput == false) {
changeInputValue('mic2', number) changeInputValue('mic2', number)
} }
} }
@ -1496,8 +1496,8 @@
if (number == -0) { if (number == -0) {
number = 0 number = 0
} }
console.log(number, outputValue.toFixed(1), typeof (number), typeof (outputValue)) console.log(number, outputValue, typeof (number), typeof (outputValue))
if (outputValue.toFixed(1) != number && isInput == false) { if (outputValue != number && isInput == false) {
changeInputValue('output', number) changeInputValue('output', number)
} }
} }