Merge branch 'dev-3.7' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.8

This commit is contained in:
zhangyu
2023-05-10 17:13:24 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
</div>
<!-- body -->
<div class="alert-label-box">
<span :class="that.auth ? 'green-bg' : 'red-bg'" class="active-icon"></span>
<span :class="that.auth === 'TRUE' ? 'green-bg' : 'red-bg'" class="active-icon"></span>
<span class="alert-label-value">Auth</span>
</div>
<div class="alert-label-box" v-if="that.prometheus">

View File

@@ -34,7 +34,7 @@
{{item.name}}
</div>
<div class="asset-name">
<span>{{item.severity?item.severity.name:'-'}} /
<span>
<span v-if="item.type === 1">{{ $t('overall.metric') }}</span>
<span v-else-if="item.type === 2">{{ $t('overall.logs') }}</span>
<span v-else-if="item.type === 3">SNMP trap</span>