update code

pull/2745/head
sight 2025-06-29 19:06:19 +08:00
parent 03eb3b570d
commit fc78ba0e47
1 changed files with 1 additions and 2 deletions

View File

@ -8,7 +8,6 @@ layui.define('lay', function(exports) {
var lay = layui.lay;
var hint = layui.hint();
var isDev = layui.cache.debug;
var MOD_NAME = 'i18n';
@ -271,7 +270,7 @@ layui.define('lay', function(exports) {
var value = get(obj, path, defaultValue);
if (isDev) {
if (layui.cache.debug) {
var isFallback = defaultValue === value || value === path;
var isNotFound = !value || isFallback;
if (isNotFound) {