From 0ea24e032913373ea743651cb2cfe32d585245b0 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Thu, 1 Jan 2026 12:05:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 102 +++++++++------------------------------- pages/control/index.vue | 4 +- 2 files changed, 25 insertions(+), 81 deletions(-) diff --git a/App.vue b/App.vue index afe3896..b86da0c 100644 --- a/App.vue +++ b/App.vue @@ -1,89 +1,33 @@ diff --git a/pages/control/index.vue b/pages/control/index.vue index 8ec4ebe..2791db2 100644 --- a/pages/control/index.vue +++ b/pages/control/index.vue @@ -359,7 +359,7 @@ export default { //todo // this.status[type] = this.status[type] === 0 ? 1 : 0; - // this.show[type] = this.status[type] === 0 ? "运行" : "暂停"; + // this.show[type] = this.status[type] === 0 ? "暂停" : "运行"; } } @@ -475,7 +475,7 @@ export default { if (isSuccess) { this.status[type] = this.status[type] === 0 ? 1 : 0; - this.show[type] = this.status[type] === 0 ? "运行" : "暂停"; + this.show[type] = this.status[type] === 0 ? "暂停" : "运行"; } this.deviceType = ''; this.$modal.msgSuccess("设备操作成功!")