pull/2745/head
sight 2025-06-30 11:47:42 +08:00
parent 160c7fa086
commit fbee05a8c2
1 changed files with 1 additions and 2 deletions

View File

@ -187,8 +187,7 @@ layui.define(['lay', 'i18n'], function(exports) {
// 纠正旧版「简体中文」语言码
if (options.lang === 'cn') {
options.lang = zhCN;
}
if(!options.lang){
}else if(!options.lang){
options.lang = i18n.config.locale;
}
var locale = options.lang || i18n.config.locale;