修复lang为空报错问题
This commit is contained in:
parent
f4d3e95170
commit
806fe04fa1
|
@ -44,6 +44,7 @@
|
|||
},
|
||||
methods: {
|
||||
checkLanguage(lang) {
|
||||
if (!lang) return;
|
||||
this.$setLang(lang);
|
||||
switch (lang) {
|
||||
case ZH_CN:
|
||||
|
|
Loading…
Reference in New Issue