12.14测试bug
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user