后端给我的:
我在前端这边写的
现在我要实现的把后端给我的,我要转化为对应的汉字 ,比如 a -java ,b ,js ,c -C语言这种的
然后在我这边页面上需要展示
<div v-if="scope.row.id === 3">
<span v-for="(item,index) in scope.row.value"
:key="Math.random()*10000+'-'+index"
style="margin-right:5px;"
>
{{$t(CodingTypes.filter(v=>v.value === item)[0].label)}}
</span>
</div>