From 3940c45654af9cf738697a9c40a2a940a88f05b1 Mon Sep 17 00:00:00 2001 From: morning-star <26325820+Sight-wcg@users.noreply.github.com> Date: Thu, 25 Sep 2025 19:11:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(layer):=20=E4=BF=AE=E5=A4=8D=20iframe=20?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E8=BE=83=E5=A4=A7=E6=97=B6=EF=BC=8C=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20layer.iframeAuto=20=E5=8F=AF=E8=83=BD=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=20layer=20=E9=A1=B6=E9=83=A8=E8=B6=85=E5=87=BA?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E7=9A=84=E9=97=AE=E9=A2=98=20(#2839?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(layer): 修复 layer.iframeAuto 在某些情况可能会超出浏览器的问题 * update code * docs(layer): 更新文档示例 * update --------- Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com> --- docs/layer/examples/iframe.md | 6 +- src/modules/layer.js | 139 +++++++++++++++++++--------------- 2 files changed, 81 insertions(+), 64 deletions(-) diff --git a/docs/layer/examples/iframe.md b/docs/layer/examples/iframe.md index 64a85fbb..ccd9317c 100644 --- a/docs/layer/examples/iframe.md +++ b/docs/layer/examples/iframe.md @@ -8,7 +8,7 @@ - +