Commit 2678cd30e68a5c361ba11c5a9e6ecadb0a380d9f
Merge branch 'release/customer/2025/五彩' of http://git.xlyprint.cn/qiangmj/ebc-Me…
…s into release/customer/2025/五彩
Showing
1 changed file
with
2 additions
and
2 deletions
src/mes/login/index.js
| ... | ... | @@ -159,8 +159,8 @@ const useLoginEvent = props => { |
| 159 | 159 | sLanguage === 'sBig5' ? configObj.sBig5 : configObj.sChinese; |
| 160 | 160 | return showName; |
| 161 | 161 | }; |
| 162 | - const sLanguage = commonUtils.isNotEmptyArr(companys) ? companys[0].sLanguage : 'sEnglish'; | |
| 163 | - | |
| 162 | + const sLanguage = companys ? commonUtils.isNotEmptyArr(companys) ? companys[0].sLanguage : 'sEnglish' : 'sChinese'; | |
| 163 | + | |
| 164 | 164 | const pleaseSelectUser = getConfigByName('pleaseSelectUser', configsData, sLanguage); |
| 165 | 165 | |
| 166 | 166 | const pleaseInputPassword = getConfigByName('pleaseInputPassword', configsData, sLanguage); | ... | ... |