fix: 测试问题修复。
This commit is contained in:
@@ -423,7 +423,7 @@ function next() {
|
|||||||
// 发起添加设备请求
|
// 发起添加设备请求
|
||||||
const data = {
|
const data = {
|
||||||
serialNum: Number(params.devNum),
|
serialNum: Number(params.devNum),
|
||||||
pondId: Number(params.pondId[0]),
|
pondId: String(params.pondId[0]), // 转为字符串保持精度
|
||||||
salinityCompensation: waterType.value == 1 ? 0 : Number(salt.value),
|
salinityCompensation: waterType.value == 1 ? 0 : Number(salt.value),
|
||||||
oxyWarnLower: Number(alarm.value),
|
oxyWarnLower: Number(alarm.value),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user