From a802fa14e3afb9ff6e508280948de7bbd3051ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E6=A5=BD=E5=9D=82=20=E7=99=BD?= Date: Tue, 14 Nov 2023 01:49:12 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=AB=98=E5=BA=A6=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/welcome.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 7707e99..7530054 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -395,7 +395,7 @@ function fetchMail() { $('#exampleModalLabel').text(text); // 显示模态框 $('#myModal').modal('show'); - var iframeHeight = $('#modalIframe').contents().find("html").height(); + let iframeHeight = $('#modalIframe').contents().find("html").height(); console.log("Iframe的实际高度是: " + iframeHeight + "px"); if (iframeHeight >= 600){ $('#modalIframe').css('height',600);