fix: 处理国际化的问题

This commit is contained in:
zhangyu
2021-11-04 18:21:20 +08:00
parent 968a03c316
commit 897fb7673c
13 changed files with 20 additions and 19 deletions

View File

@@ -48,7 +48,7 @@
</template>
<template v-if="item.prop === 'type'">
<template v-if="scope.row.type">
{{$CONSTANTS.snmpProtocolTypes.find(t=>t.value == scope.row.type).label}}
{{$t($CONSTANTS.snmpProtocolTypes.find(t=>t.value == scope.row.type).label)}}
</template>
<template v-else>-</template>
</template>