From 49dfcbf1f7e09bc0839d077f54dc4ed2056cac17 Mon Sep 17 00:00:00 2001 From: Fine Date: Sun, 25 Jun 2023 22:32:26 +0800 Subject: [PATCH] fix: update --- .../related/continuous-profiling/components/Policy.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/dashboard/related/continuous-profiling/components/Policy.vue b/src/views/dashboard/related/continuous-profiling/components/Policy.vue index 0bfc9ac9..09ecc35d 100644 --- a/src/views/dashboard/related/continuous-profiling/components/Policy.vue +++ b/src/views/dashboard/related/continuous-profiling/components/Policy.vue @@ -56,7 +56,7 @@ limitations under the License. -->
{{ t("threshold") }} - ({{ getNotice(item.type) }}) + {{ getNotice(item.type) }}
HTTP_AVG_RESPONSE_TIME: "It is a response time in milliseconds", }; - return map[type]; + return map[type] ? `(${map[type]})` : ""; }