fix: 修复 i18n页面,lang选择问题

This commit is contained in:
@changcode
2021-11-03 14:31:00 +08:00
parent d40988674f
commit 14dc417a8a
2 changed files with 2 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ export default {
if (response.code === 200) {
this.languageList = response.data
if (!this.editGlobalization.id) {
this.languageList[0].value = 'en'
this.languageList[1].value = 'en'
}
} else {
this.$message.error(response.msg)