提交 1237136d 编写于 作者: K kezhenxu94 提交者: min

bugfix: i18n display. Fixes #301 (#302)

上级 c08edcbc
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
hide-actions hide-actions
hide-headers > hide-headers >
<template slot="items" slot-scope="props"> <template slot="items" slot-scope="props">
<td>{{props.item.name}} </td> <td>{{$t(props.item.name)}} </td>
<td>{{props.item.value}}</td> <td>{{props.item.value}}</td>
</template> </template>
</v-data-table> </v-data-table>
...@@ -265,7 +265,7 @@ ...@@ -265,7 +265,7 @@
Object.keys(meta).forEach(function (key) { Object.keys(meta).forEach(function (key) {
let item = {} let item = {}
item.value = meta[key] item.value = meta[key]
item.name = vm.$t(key) item.name = key
vm.basic.push(item) vm.basic.push(item)
}) })
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册