From 0860028c8703c918adfe469fb089bdd2316fea80 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Wed, 11 Mar 2026 16:14:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/control/automatic.vue | 12 ++++++------ pages/home/control/index.vue | 4 ---- 2 files changed, 6 insertions(+), 10 deletions(-) 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 @@