pull/2745/head
sight 2025-06-30 11:39:57 +08:00
parent b82537928c
commit 160c7fa086
1 changed files with 3 additions and 0 deletions

View File

@ -188,6 +188,9 @@ layui.define(['lay', 'i18n'], function(exports) {
if (options.lang === 'cn') {
options.lang = zhCN;
}
if(!options.lang){
options.lang = i18n.config.locale;
}
var locale = options.lang || i18n.config.locale;
return {