From 6af5beb9906c3f407152684a123bd92c70faa12d 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: Sun, 2 Jun 2024 12:52:58 +0800 Subject: [PATCH] delete console --- resources/views/welcome.blade.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 1b8063c..16c55f7 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -208,7 +208,6 @@ function isValidDomain(domain) { - console.log(domain); var pattern = /^(?!:\/\/)([a-z0-9-]+\.)*[a-z0-9-]+\.[a-z]{2,11}$/; return pattern.test(domain); } @@ -245,10 +244,8 @@ function fetchMail() { } $.each(response.data.list, function (k, v) { let temp_html = '' + v.from + '' + v.title + '' + dateFmt(v.received_at) + ''; - console.log(temp_html); $('#default-note').parent().append(temp_html); }) - console.log('请求成功:', response); // 在这里处理你的响应数据 }, error: function (xhr, status, error) { @@ -258,8 +255,6 @@ function fetchMail() { isRequestPending = false; } }); - } else { - console.log('上一个请求还未完成,跳过这次请求'); } } @@ -375,7 +370,6 @@ function fetchMail() { $('#myModal').on('shown.bs.modal', function () { let iframeHeight = $('#modalIframe').contents().find("html").height(); - console.log("Iframe的实际高度是: " + iframeHeight + "px"); if (iframeHeight <= 600){ $('#modalIframe').css('height',600); } else if (iframeHeight >= 800){