12.14测试bug

This commit is contained in:
2023-12-14 15:48:35 +08:00
parent 0f4bddc6d1
commit 69a65b32ea
12 changed files with 59 additions and 32 deletions

View File

@@ -118,8 +118,8 @@ export default {
type: '',
plcParamId: '',
limitType: '',
minValue: null,
maxValue: null
minValue: 0,
maxValue: 0
},
objIds: [],// 回显数组
isEdit: false, //是否是编辑
@@ -239,7 +239,8 @@ export default {
return false
}
}
// this.form.limitType = Number(this.form.limitType)
this.form.minValue = this.form.minValue || 0
this.form.maxValue = this.form.maxValue || 0
if (this.isEdit) {
// 编辑
updateEnergyLimit({...this.form}).then((res) => {