From 55a0161119f163f2f59d2091d7896347f35d1269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B9=E6=B3=A1=E6=B3=A1=E7=9A=84=E5=9B=A2=E5=AD=90?= Date: Sun, 29 Oct 2023 17:21:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/hippo4j/monitor/index.vue | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/threadpool/console/src/views/hippo4j/monitor/index.vue b/threadpool/console/src/views/hippo4j/monitor/index.vue index b338bec6..d6d1a42d 100644 --- a/threadpool/console/src/views/hippo4j/monitor/index.vue +++ b/threadpool/console/src/views/hippo4j/monitor/index.vue @@ -15,24 +15,19 @@
-
{{ listQuery.tenantId }}
-
租户:
-
{{ listQuery.tenantId }}
-
-
-
{{ listQuery.itemId }}
+
{{ listQuery.itemId }}
项目:
-
{{ listQuery.itemId }}
+
{{ listQuery.itemId }}
-
{{ listQuery.tpId }}
+
{{ listQuery.tpId }}
线程池:
-
{{ listQuery.tpId }}
+
{{ listQuery.tpId }}
-
{{ listQuery.identify }}
+
{{ listQuery.identify }}
实例:
-
{{ listQuery.identify }}
+
{{ listQuery.identify }}
@@ -146,6 +141,7 @@ export default { } }, + isFirstShow: true, lineChartData: [], times: [], selectMonitorValue: { @@ -231,7 +227,9 @@ export default { watch: { listQuery:{ handler(newVal) { - this.getSelectMonitor() + if (!this.isFirstShow) { + this.getSelectMonitor() + } }, deep: true }, @@ -363,6 +361,7 @@ export default { }, handleChangeMonitorSelect(value) { + this.isFirstShow = false this.selectMonitor[value[0]].map((item) => { if (item.children.label == value[1]) { this.listQuery.identify = item.identify || this.listQuery.identify