修复lang为空报错问题

This commit is contained in:
q4speed 2020-06-01 11:46:31 +08:00
parent f4d3e95170
commit 806fe04fa1
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@
},
methods: {
checkLanguage(lang) {
if (!lang) return;
this.$setLang(lang);
switch (lang) {
case ZH_CN: