From 31f496cc134d3da3ca62f7800a8827ba4bf79452 Mon Sep 17 00:00:00 2001 From: g7hoo Date: Thu, 22 Sep 2022 13:25:41 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=87=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=97=B6=E5=BA=8F=E5=9B=BE=E4=BA=A7=E7=BA=BF=E5=B7=A5=E6=AE=B5?= =?UTF-8?q?=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/monitoring/equipmentTimesequence.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/modules/monitoring/equipmentTimesequence.vue b/src/views/modules/monitoring/equipmentTimesequence.vue index 77c1bf8..15a859e 100644 --- a/src/views/modules/monitoring/equipmentTimesequence.vue +++ b/src/views/modules/monitoring/equipmentTimesequence.vue @@ -185,7 +185,7 @@ export default { calcMaxHeight, timeType: 'range', currentLine: null, - rawTime: null, + rawTime: new Date(), dataForm: { wsId: null, productlines: [], @@ -263,10 +263,11 @@ export default { /** set default */ if (this.wsList.length) { this.dataForm.wsId = this.wsList[0].id + } else { + this.dataForm.wsId = null } } else { this.wsList.splice(0) - this.dataForm.wsId = '' // <== 不起作用... } }) }, @@ -352,7 +353,6 @@ export default { }) }, handleProductLineChange(val) { - console.log('handleProductLineChange', this.dataForm.productlines) this.getWorksetionList() }, // 每页数