From 9dfc0359159529aeed5ab2b53d4dda9b5b6694e3 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Wed, 11 Mar 2026 11:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=BB=E8=BE=91=E5=A4=8D=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/control/automatic.vue | 1 - pages/home/control/index.vue | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pages/home/control/automatic.vue b/pages/home/control/automatic.vue index 7c9cd5f..185a37f 100644 --- a/pages/home/control/automatic.vue +++ b/pages/home/control/automatic.vue @@ -673,7 +673,6 @@ export default { this.message = JSON.stringify({[`${type}1`]: status}) this.$emit(emitFunction, this.message); - this.$set(this.status, type, status); //todo // this.testAuto(type); diff --git a/pages/home/control/index.vue b/pages/home/control/index.vue index 2952d02..8cdae12 100644 --- a/pages/home/control/index.vue +++ b/pages/home/control/index.vue @@ -474,7 +474,7 @@ export default { const allKeysNumeric = Object.keys(msgData).some(key => arr.includes(key)); if (allKeysNumeric) { //todo - // this.status = {...msgData} + this.status = {...msgData} Object.keys(msgData).forEach(key => { const value = msgData[key]; this.show[key] = value === 0 ? '暂停' : '运行'; @@ -527,7 +527,6 @@ export default { confirmText: '确定', success: (res) => { if (res.confirm) { - // todo 修改大棚模式 switchAgriMode(this.imei, {code:(mode?1:0)}).then(response => { if (response.code===200) { this.currentMode = mode