fix: 处理国际化的问题
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user