style: i18n新增默认lang en高亮
This commit is contained in:
@@ -144,6 +144,9 @@ export default {
|
||||
this.$get('/sys/dict/all', { type: 'lang' }).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.languageList = response.data
|
||||
if (!this.editGlobalization.id) {
|
||||
this.languageList[0].value = 'en'
|
||||
}
|
||||
} else {
|
||||
this.$message.error(response.msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user