You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
563 B
29 lines
563 B
<template>
|
|
<transition name="fade">
|
|
<router-view></router-view>
|
|
</transition>
|
|
</template>
|
|
|
|
<script>
|
|
import {searchSysLanguagePack} from "./api/sysLanguage.js"
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
query: {}
|
|
}
|
|
},
|
|
created() {
|
|
this.test();
|
|
// this.languageRefresh()
|
|
},
|
|
methods: {
|
|
test() {
|
|
searchSysLanguagePack().then(({data}) => {
|
|
this.$i18n.mergeLocaleMessage('en', data.data.en)
|
|
this.$i18n.mergeLocaleMessage('cn', data.data.cn)
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|