From ceec794fce185d972f0e7599247aa59786b6dc04 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Thu, 14 Apr 2022 13:04:44 +0800 Subject: [PATCH] update name --- src/views/dashboard/graphs/Card.vue | 7 ++++++- src/views/dashboard/graphs/EndpointList.vue | 4 ++-- src/views/dashboard/graphs/InstanceList.vue | 4 ++-- src/views/dashboard/graphs/ServiceList.vue | 4 ++-- .../graphs/components/{MetricGraph.vue => ColumnGraph.vue} | 0 5 files changed, 12 insertions(+), 7 deletions(-) rename src/views/dashboard/graphs/components/{MetricGraph.vue => ColumnGraph.vue} (100%) diff --git a/src/views/dashboard/graphs/Card.vue b/src/views/dashboard/graphs/Card.vue index 98b7cb4c..234f8b9a 100644 --- a/src/views/dashboard/graphs/Card.vue +++ b/src/views/dashboard/graphs/Card.vue @@ -23,7 +23,7 @@ limitations under the License. --> }" > {{ singleVal.toFixed(2) }} - + {{ decodeURIComponent(unit) }} @@ -71,4 +71,9 @@ const unit = computed( height: 100%; color: #666; } + +.unit { + display: inline-block; + margin-left: 2px; +} diff --git a/src/views/dashboard/graphs/EndpointList.vue b/src/views/dashboard/graphs/EndpointList.vue index 9bc86313..5ab1b95f 100644 --- a/src/views/dashboard/graphs/EndpointList.vue +++ b/src/views/dashboard/graphs/EndpointList.vue @@ -42,7 +42,7 @@ limitations under the License. --> - - -