feat: update policy list

This commit is contained in:
Fine 2023-05-30 16:24:14 +08:00
parent 811f98bc41
commit 604725d20c
2 changed files with 6 additions and 4 deletions

View File

@ -39,11 +39,13 @@ limitations under the License. -->
}" }"
> >
<div class="ell"> <div class="ell">
<span class="mr-10 sm"> <span class="sm">
{{ i.type }} {{ i.type }}
</span> </span>
<span class="mr-10 sm"> </div>
{{ policyItem(i.checkItems) }} <div class="grey ell sm" v-for="(item, index) in i.checkItems" :key="index">
<span class="sm">
{{ `${item.type} >= ${item.threshold}; ` }}
</span> </span>
</div> </div>
</td> </td>

View File

@ -35,7 +35,7 @@ limitations under the License. -->
> >
<div class="ell" v-for="(cause, j) in i.continuousProfilingCauses" :key="j"> <div class="ell" v-for="(cause, j) in i.continuousProfilingCauses" :key="j">
<span> <span>
{{ `${cause.type}: ${getURI(cause.uri)}${cause.uri.threshold}>=${cause.uri.current}; ` }} {{ `${cause.type}: ${getURI(cause.uri)}${cause.uri.threshold}>=${cause.uri.current}` }}
</span> </span>
<!-- <a class="profile-view r" @click="viewDetail = true"> <!-- <a class="profile-view r" @click="viewDetail = true">
<Icon iconName="view" size="middle" /> <Icon iconName="view" size="middle" />