From 87015949a46e5d50d472c3081b3569f727f9d4cc Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Tue, 10 Mar 2026 00:59:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=80=E9=94=AE=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E5=8D=B7=E8=86=9C=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/control/automatic.vue | 10 ++++++++-- pages/home/control/index.vue | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/home/control/automatic.vue b/pages/home/control/automatic.vue index 33a0c84..54eb6a4 100644 --- a/pages/home/control/automatic.vue +++ b/pages/home/control/automatic.vue @@ -823,6 +823,11 @@ export default { // this.termList[index]['config']= { ...config }; this.termList[index]['terms'] = JSON.parse(JSON.stringify(temps)); this.termList[index]['config']= JSON.parse(JSON.stringify(config)); + var terms = this.termList[index]['terms']; + terms.map(item => { + item.id = generateUniqueId(); + item.roller = `jm${index+1}`; + }) this.termList[index]['config'].roller = `jm${index+1}` } } @@ -929,7 +934,6 @@ export default { * @param index 条件 */ openSlider(tag, index) { - console.info(tag,index) var fillerTerm = this.termList[this.current]['terms'][index]; if (tag === 'temp') { this.slider = { @@ -1039,7 +1043,9 @@ export default { const rollerParam = termMap[index]['config']; // 参数设置 const filmRoller = this.filmRollerList[index]; if (!rollerParam) { - this.$tn.message.toast('参数设置失败,请下拉刷新后重试!') + this.$tn.message.toast( + '参数设置失败,请下拉刷新后重试!', + false, null, 'none', 3000) return; } else if (rule.validate(rollerParam, term)) { rollerList.push(filmRoller); diff --git a/pages/home/control/index.vue b/pages/home/control/index.vue index 05e59ce..b0be9f5 100644 --- a/pages/home/control/index.vue +++ b/pages/home/control/index.vue @@ -470,6 +470,7 @@ export default { var arr = ['jbk', "jbg", "jm1k", "jm1g", "jm2k", "jm2g", "jm3k", "jm3g","jlk","jlg"] const allKeysNumeric = Object.keys(msgData).some(key => arr.includes(key)); if (allKeysNumeric) { + //todo // this.status = {...msgData} Object.keys(msgData).forEach(key => { const value = msgData[key];