From 604725d20c1553c3680dbe37dd333286e2af14f7 Mon Sep 17 00:00:00 2001 From: Fine Date: Tue, 30 May 2023 16:24:14 +0800 Subject: [PATCH] feat: update policy list --- .../continuous-profiling/components/PolicyList.vue | 8 +++++--- .../related/continuous-profiling/components/TaskList.vue | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/related/continuous-profiling/components/PolicyList.vue b/src/views/dashboard/related/continuous-profiling/components/PolicyList.vue index 98017241..c913fb7c 100644 --- a/src/views/dashboard/related/continuous-profiling/components/PolicyList.vue +++ b/src/views/dashboard/related/continuous-profiling/components/PolicyList.vue @@ -39,11 +39,13 @@ limitations under the License. --> }" >
- + {{ i.type }} - - {{ policyItem(i.checkItems) }} +
+
+ + {{ `${item.type} >= ${item.threshold}; ` }}
diff --git a/src/views/dashboard/related/continuous-profiling/components/TaskList.vue b/src/views/dashboard/related/continuous-profiling/components/TaskList.vue index a3780429..46ef7cc3 100644 --- a/src/views/dashboard/related/continuous-profiling/components/TaskList.vue +++ b/src/views/dashboard/related/continuous-profiling/components/TaskList.vue @@ -35,7 +35,7 @@ limitations under the License. --> >
- {{ `${cause.type}: ${getURI(cause.uri)}${cause.uri.threshold}>=${cause.uri.current}; ` }} + {{ `${cause.type}: ${getURI(cause.uri)}${cause.uri.threshold}>=${cause.uri.current}` }}