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("设备操作成功!")