'提交'
This commit is contained in:
parent
cb648020fe
commit
892b741346
|
@ -1473,10 +1473,17 @@ export default {
|
|||
this.form.regularWateringJsonObj.sprayTime =
|
||||
this.form.sprayTimeMin * 60 + this.form.sprayTimeSec;
|
||||
// this.form.pulseModeParam = JSON.stringify(this.form.pulseModeParamObj);
|
||||
console.log(JSON.stringify(this.form.pulseModeParamObj.jg_sec));
|
||||
this.form.pulseModeParamObj.jg_sec = this.convertSecondsToString(JSON.stringify(this.form.pulseModeParamObj.jg_sec))
|
||||
// console.log(JSON.stringify(this.form.pulseModeParamObj.jg_sec));
|
||||
if(JSON.stringify(this.form.pulseModeParamObj.sprayTime) && JSON.stringify(this.form.pulseModeParamObj.intervalTime)){
|
||||
this.form.pulseModeParamObj.jg_sec = this.convertSecondsToString(JSON.stringify(this.form.pulseModeParamObj.sprayTime))
|
||||
this.form.pulseModeParamObj.js_sec = this.convertSecondsToString(JSON.stringify(this.form.pulseModeParamObj.intervalTime))
|
||||
this.form.pulseModeParam = JSON.stringify(this.form.pulseModeParamObj)
|
||||
}else{
|
||||
this.form.pulseModeParamObj.jg_sec = this.convertSecondsToString(JSON.stringify(this.form.pulseModeParamObj.jg_sec))
|
||||
this.form.pulseModeParamObj.js_sec = this.convertSecondsToString(JSON.stringify(this.form.pulseModeParamObj.js_sec))
|
||||
this.form.pulseModeParam = JSON.stringify(this.form.pulseModeParamObj)
|
||||
}
|
||||
|
||||
|
||||
this.form.regularWateringJson = JSON.stringify(
|
||||
this.form.regularWateringJsonObj
|
||||
|
|
Loading…
Reference in New Issue
Block a user