fix: 编译后detection-pevents app下拉异常的问题

This commit is contained in:
chenjinsong
2023-01-06 13:53:44 +08:00
parent 3ef34ff262
commit 71809f71c3

View File

@@ -38,7 +38,7 @@
<div class="overview__row"> <div class="overview__row">
<div class="row__label">{{$t('entities.riskLevel')}}</div> <div class="row__label">{{$t('entities.riskLevel')}}</div>
<div class="row__content"> <div class="row__content">
<div class="row__tag" :style="`background-color:${eventSeverityColor[basicInfo.appRisk]}`">{{basicInfo.appRisk ? getRiskLevel(basicInfo.appRisk) : '-'}}</div> <div class="row__tag" :style="`background-color:${eventSeverityColor[basicInfo.appRisk]}`">{{basicInfo.appRisk ? (riskLevelMapping[basicInfo.appRisk] ? riskLevelMapping[basicInfo.appRisk].name : basicInfo.appRisk) : '-'}}</div>
</div> </div>
</div> </div>
</div> </div>