Commit 9d540f85 authored by honghy's avatar honghy

控货多语言

parent 9f5b3623
...@@ -15,8 +15,16 @@ ...@@ -15,8 +15,16 @@
{{ type[row.userType] }} {{ type[row.userType] }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="type" :label="$t('操作类型')" align="center" header-align="center" /> <el-table-column prop="type" :label="$t('操作类型')" align="center" header-align="center">
<el-table-column prop="msg" :label="$t('备注')" align="center" header-align="center" /> <template slot-scope="{ row }">
{{ $i18n.locale==0?row.type:row.typeEn }}
</template>
</el-table-column>
<el-table-column prop="msg" :label="$t('备注')" align="center" header-align="center">
<template slot-scope="{ row }">
{{ $i18n.locale==0?row.msg:row.msgEn }}
</template>
</el-table-column>
</el-table> </el-table>
</el-dialog> </el-dialog>
</template> </template>
...@@ -30,7 +38,7 @@ export default { ...@@ -30,7 +38,7 @@ export default {
return { return {
parseTime, parseTime,
logData: [], logData: [],
type: ['', this.$t('会员'), this.$t('管理员')] type: ['', this.$t('orderdetail.member'), this.$t('orderdetail.admin')]
} }
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment