fix
parent
a812237912
commit
1703674654
32
home.html
32
home.html
|
@ -1263,10 +1263,10 @@
|
||||||
let resData = res
|
let resData = res
|
||||||
if (resData.success) {
|
if (resData.success) {
|
||||||
data = resData.content
|
data = resData.content
|
||||||
lineinputValue = parseFloat(data.lineinput.audio.toFixed(1))
|
lineinputValue = data.lineinput.audio.toFixed(1)
|
||||||
mic1Value = parseFloat(data.mic1.audio.toFixed(1))
|
mic1Value = data.mic1.audio.toFixed(1)
|
||||||
mic2Value = parseFloat(data.mic2.audio.toFixed(1))
|
mic2Value = data.mic2.audio.toFixed(1)
|
||||||
outputValue = parseFloat(data.output.audio.toFixed(1))
|
outputValue = data.output.audio.toFixed(1)
|
||||||
console.log(typeof (lineinputValue), typeof (mic1Value), typeof (mic2Value), typeof (outputValue))
|
console.log(typeof (lineinputValue), typeof (mic1Value), typeof (mic2Value), typeof (outputValue))
|
||||||
bindData()
|
bindData()
|
||||||
}
|
}
|
||||||
|
@ -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.toFixed(1), lineinputValue.toFixed(1), typeof (number), typeof (lineinputValue))
|
||||||
if (number != lineinputValue.toFixed(1) && isInput == false) {
|
if (number.toFixed(1) != lineinputValue.toFixed(1) && isInput == false) {
|
||||||
changeInputValue('lineinput', number)
|
changeInputValue('lineinput', number.toFixed(1))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1407,9 +1407,9 @@
|
||||||
if (number == -0) {
|
if (number == -0) {
|
||||||
number = 0
|
number = 0
|
||||||
}
|
}
|
||||||
console.log(number, mic1Value.toFixed(1), typeof (number), typeof (mic1Value))
|
console.log(number.toFixed(1), mic1Value.toFixed(1), typeof (number), typeof (mic1Value))
|
||||||
if (mic1Value.toFixed(1) != number && isInput == false) {
|
if (mic1Value.toFixed(1) != number.toFixed(1) && isInput == false) {
|
||||||
changeInputValue('mic1', number)
|
changeInputValue('mic1', number.toFixed(1))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1451,9 +1451,9 @@
|
||||||
if (number == -0) {
|
if (number == -0) {
|
||||||
number = 0
|
number = 0
|
||||||
}
|
}
|
||||||
console.log(number, mic2Value.toFixed(1), typeof (number), typeof (mic2Value))
|
console.log(number.toFixed(1), mic2Value.toFixed(1), typeof (number), typeof (mic2Value))
|
||||||
if (mic2Value.toFixed(1) != number && isInput == false) {
|
if (mic2Value.toFixed(1) != number.toFixed(1) && isInput == false) {
|
||||||
changeInputValue('mic2', number)
|
changeInputValue('mic2', number.toFixed(1))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1496,9 +1496,9 @@
|
||||||
if (number == -0) {
|
if (number == -0) {
|
||||||
number = 0
|
number = 0
|
||||||
}
|
}
|
||||||
console.log(number, outputValue.toFixed(1), typeof (number), typeof (outputValue))
|
console.log(number.toFixed(1), outputValue.toFixed(1), typeof (number), typeof (outputValue))
|
||||||
if (outputValue.toFixed(1) != number && isInput == false) {
|
if (outputValue.toFixed(1) != number.toFixed(1) && isInput == false) {
|
||||||
changeInputValue('output', number)
|
changeInputValue('output', number.toFixed(1))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue