CN-1676 fix: 1、规范detection下拉详情的英文字段名称;2、下拉详情中没有国家名称的只显示一条横杠

This commit is contained in:
刘洪洪
2024-08-14 15:01:06 +08:00
parent 10a2187e00
commit 40b2823195
4 changed files with 13 additions and 21 deletions

View File

@@ -6,10 +6,10 @@
<div class="row__label row__label--width130">{{$t('overall.location')}}</div>
<div class="row__content">
<div v-if="entity.location" class="row__content-display">
<div v-if="entity.location.country">
<span v-if="entity.location.country">
<img v-if="entity.location.country===countryNameIdMapping.Unknown || !countryNameIdMapping[entity.location.country]" src="../../../../../public/images/flag/Unknown.svg" class="filter-country-flag">
<img v-else :src="require(`../../../../../public/images/flag/${countryNameIdMapping[entity.location.country]}.png`)" class="filter-country-flag" >
</div>
</span>
<span v-high-light="keywordList" class="high-location">{{ ipLocationRegion(entity.location) }}</span>
</div>
<div v-else>-</div>