Commit 9d540f85 authored by honghy's avatar honghy

控货多语言

parent 9f5b3623
......@@ -15,8 +15,16 @@
{{ type[row.userType] }}
</template>
</el-table-column>
<el-table-column prop="type" :label="$t('操作类型')" align="center" header-align="center" />
<el-table-column prop="msg" :label="$t('备注')" align="center" header-align="center" />
<el-table-column prop="type" :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-dialog>
</template>
......@@ -30,7 +38,7 @@ export default {
return {
parseTime,
logData: [],
type: ['', this.$t('会员'), this.$t('管理员')]
type: ['', this.$t('orderdetail.member'), this.$t('orderdetail.admin')]
}
},
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