修复layui悬浮窗错误不加载

This commit is contained in:
lzyme.dev@gmail.com
2026-08-30 20:33:17 +08:00
parent 06b2497ee1
commit 9db06fba3b
3 changed files with 15386 additions and 13204 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ class Utils {
}
if (!viewerExists) {
this.layerIndexStack.pop();
layer.close(topLayerIndex);
typeof layer !== 'undefined' && layer.close(topLayerIndex);
}
}
setupEscClose(layerIndex) {