@ -218,7 +218,8 @@
height="500"
>
<el-table-column
v-for="(head) in showJsonHeader"
v-for="(head,h_key) in showJsonHeader"
:key="h_key"
min-width="120"
<template #header>
@ -22,7 +22,7 @@ const messages = {
...enLocale,
}
console.log(localStorage.getItem("browserLanguage"))
const i18n = new VueI18n({
messages,
fallbackLocale: "zh-CN", // 匹配不到时默认的语言
@ -46,4 +46,5 @@ const translate = (localeKey) => {
return localeKey
export { i18n, messages, translate }
export { messages, translate }
export default i18n