diff --git a/pages/home/control/automatic.vue b/pages/home/control/automatic.vue index 185a37f..dc2b599 100644 --- a/pages/home/control/automatic.vue +++ b/pages/home/control/automatic.vue @@ -829,7 +829,8 @@ export default { item.id = generateUniqueId(); item.roller = `jm${index+1}`; }) - this.termList[index]['config'].roller = `jm${index+1}` + this.termList[index]['config']['id']=null; + this.termList[index]['config']['roller']=`jm${index+1}`; } } } @@ -949,7 +950,7 @@ export default { this.slider = { title: '风口大小', min: 0, - max: 100, + max: 30, unit: 'cm', value: fillerTerm.vent, mode: tag @@ -1048,11 +1049,10 @@ export default { '参数设置失败,请下拉刷新后重试!', false, null, 'none', 3000) return; + } else if (rule.validate(rollerParam, term)) { + rollerList.push(filmRoller); + showTips = rule.tip; } - // else if (rule.validate(rollerParam, term)) { - // rollerList.push(filmRoller); - // showTips = rule.tip; - // } } if (rollerList.length>0) { this.$tn.message.toast(`【${rollerList.join(",")}】${showTips}`); diff --git a/pages/home/control/index.vue b/pages/home/control/index.vue index 8cdae12..6f62a8c 100644 --- a/pages/home/control/index.vue +++ b/pages/home/control/index.vue @@ -63,8 +63,6 @@