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

fix: 翻译内容优化

上级 ab2f1dbe
......@@ -265,8 +265,8 @@ export default {
},
methods: {
switchLocale(locale) {
this.$store.dispatch('switchLocale', locale)
location.reload()
this.$cookies.set('lang', locale, { domain: 'ezijing.com' })
process.client && location.reload()
},
goPage(path, goType) {
if (parseInt(goType) === 3) {
......
......@@ -45,7 +45,7 @@ export default {
mba: 'MBA',
finance: 'MBA IN FINANCE',
internatidnal: 'MBA with Concentration in Hospitality and Tourism ',
caas: 'CAAS MBA'
caas: 'MBA IN FOOD AND BEVERAGE MANAGEMENT'
},
doctorChild: {
dba: 'Doctor of Psychology (coming soon)',
......@@ -70,10 +70,10 @@ export default {
plan: 'Plan for Future<br/>Financial Leaders',
mba: 'MBA',
finance: 'MBA<br />IN FINANCE',
international: 'MBA<br />IN INTERNATIONAL',
international: 'MBA<br />IN HOSPITALITY',
dba: 'Doctor of<br />Psychology DBA<br />(coming soon)',
edd: 'Doctor of Business<br />Administration EDD(coming soon)',
caas: 'CAAS MBA'
caas: 'MBA IN FOOD AND BEVERAGE MANAGEMENT'
},
service: {
x: '1+x',
......
......@@ -15,7 +15,6 @@ export const actions = {
switchLocale({ commit }, locale) {
commit('setLocale', locale)
this.app.i18n.locale = locale
this.app.$cookies.set('lang', locale)
// process.client && location.reload()
this.$cookies.set('lang', locale, { domain: 'ezijing.com' })
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论