提交 2ee6f2ce authored 作者: 王鹏飞's avatar 王鹏飞

fix: Certs语言默认设置为en

上级 89489cf6
......@@ -10,8 +10,10 @@
</template>
<script>
import Cookies from 'js-cookie'
export default {
name: 'WmpLayout',
name: 'CertsLayout',
metaInfo() {
return {
title: this.$t('main.title'),
......@@ -23,6 +25,7 @@ export default {
},
created() {
this.$i18n.locale = 'en'
Cookies.set('lang', 'en', { expires: 30, domain: '.ezijing.com' })
}
}
</script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论