From d5144373c23426d847af60c7443785131b6834c6 Mon Sep 17 00:00:00 2001 From: likexuan Date: Thu, 21 Jul 2022 11:30:35 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix=20:=20asset=20=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=AA=A8=E6=9E=B6=E5=B1=8F=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/page/asset/asset.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index bf05cabe5..daf80e67d 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -338,7 +338,7 @@ export default { { key: 'Down', value: 0, name: 'Down' }, { key: 'Up', value: 1, name: 'Up' } ], - show: true, + show: false, showMore: false, width: 0, index: -1 @@ -404,7 +404,7 @@ export default { { key: 'Down', id: 0, name: 'Down' }, { key: 'Up', id: 1, name: 'Up' } ], - show: true, + show: false, showMore: false, dropShow: false, width: 0, From 4f65ad4e4b660163c14ac36a785d0c65bfbaffd2 Mon Sep 17 00:00:00 2001 From: likexuan Date: Thu, 21 Jul 2022 17:05:51 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix=20:=20agent=E6=8F=90=E7=A4=BA=E6=A1=86?= =?UTF-8?q?=E6=9B=B4=E6=94=B9(=E5=85=A8=E8=8B=B1=E6=96=87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/common/alert/alertStateInfo.vue | 16 ++++++++-------- .../components/common/project/popData/Info.vue | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nezha-fronted/src/components/common/alert/alertStateInfo.vue b/nezha-fronted/src/components/common/alert/alertStateInfo.vue index b2ac04935..9148eecb0 100644 --- a/nezha-fronted/src/components/common/alert/alertStateInfo.vue +++ b/nezha-fronted/src/components/common/alert/alertStateInfo.vue @@ -10,7 +10,7 @@
- {{$t('overall.version')}} : + Version : {{ that && that.version ? that.version : "--" }} @@ -19,27 +19,27 @@
- {{$t('overall.auth')}} + Auth
- {{$t('dashboard.overview.mapTooltip.prometheus')}} + Prometheus
- {{$t('overall.cortex')}} + Cortex
- {{$t('overall.loki')}} + Loki
- {{$t('overall.snmp_exporter')}} + SNMP exporter
- {{$t('overall.blackbox_exporter')}} + Blackbox exporter
@@ -124,7 +124,7 @@ export default { delete labelPosition.left labelPosition.right = - clientWidth - position.left - leftOffSetView - position.width * 3.5 + 'px' + clientWidth - position.left - leftOffSetView - position.width * 4 + 'px' } return labelPosition } diff --git a/nezha-fronted/src/components/common/project/popData/Info.vue b/nezha-fronted/src/components/common/project/popData/Info.vue index 6c9f981c3..5c2a24eaa 100644 --- a/nezha-fronted/src/components/common/project/popData/Info.vue +++ b/nezha-fronted/src/components/common/project/popData/Info.vue @@ -1,6 +1,6 @@