diff --git a/src/views/heatRecoverySys/deviceMonitor/monitorCenter.vue b/src/views/heatRecoverySys/deviceMonitor/monitorCenter.vue index ebe2de5..76f75d5 100644 --- a/src/views/heatRecoverySys/deviceMonitor/monitorCenter.vue +++ b/src/views/heatRecoverySys/deviceMonitor/monitorCenter.vue @@ -665,8 +665,13 @@ export default { const result = await operationConrol([params]); if (result.code == 200) { this.$modal.msgSuccess("指令下发成功!"); - this.getMonitorList(); - this.getMonitorTotalData(); + // 开启 loading 效果 + this.loading = true; + setTimeout(() => { + this.getMonitorList(); + this.getMonitorTotalData(); + this.loading = false; + }, 2000); } // 更新当前开度值 this.currentOpening = Number(value); @@ -1312,7 +1317,7 @@ export default { border: 0.01rem dashed #646866; } .h4 { - top: 5.0rem; + top: 5rem; left: 2rem; color: #cecece; font-size: 0.16rem;