mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-30 05:42:19 +00:00
Merge branch 'master' of github.com:jumpserver/lina
This commit is contained in:
@@ -11,7 +11,6 @@ import CustomActionsFormatter from './CustomActionsFormatter'
|
||||
import DeleteActionFormatter from './DeleteActionFormatter'
|
||||
import DateFormatter from './DateFormatter'
|
||||
|
||||
|
||||
export default {
|
||||
DetailFormatter,
|
||||
DisplayFormatter,
|
||||
|
||||
@@ -65,10 +65,12 @@ export default {
|
||||
},
|
||||
changeLangToZH() {
|
||||
this.$i18n.locale = 'cn'
|
||||
localStorage.setItem('lang', 'cn')
|
||||
this.$cookie.set(this.LANG_COOKIE_NAME, 'zh-hans')
|
||||
},
|
||||
changeLangToEnglish() {
|
||||
this.$i18n.locale = 'en'
|
||||
localStorage.setItem('lang', 'en')
|
||||
this.$cookie.set(this.LANG_COOKIE_NAME, 'en')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user