From b5794331aa8e0d78f37c2be2d14c717d1b1c8d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E8=8D=A3=E5=8D=87?= <3136352472@qq.com> Date: Wed, 13 Nov 2019 12:34:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B1=BB=E5=9E=8B(=E6=96=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD),=E5=BD=B1=E5=93=8D=E7=9A=84=E8=8C=83?= =?UTF-8?q?=E5=9B=B4(=E4=BB=A3=E7=A0=81=E9=80=BB=E8=BE=91),[=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E5=BC=B9=E7=AA=97]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + index.html | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cfd10..b238a70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### 2019-11-13 #### 新功能 ++ 3136352472 [12:34:46] :加入弹窗;影响的范围(代码逻辑) + 3136352472 [12:32:36] :检测服务成功代码;影响的范围(代码逻辑) + 3136352472 [12:23:18] :改了下颜色;影响的范围(前端界面) + 3136352472 [12:20:12] :切合服务器;影响的范围(代码逻辑) diff --git a/index.html b/index.html index 8473efd..f8283bb 100644 --- a/index.html +++ b/index.html @@ -21,13 +21,15 @@ function check(){ $.ajax({ - url: "http://127.0.0.1", + url: "http://localhost", success: function () { + alert("成功"); setTimeout(function () { - location.href = "http://127.0.0.1/" + location.href = "http://localhost/" },3000) }, - error: function () { + error: function (err) { + alert(err); setTimeout(function () { check() },1000)