From edf4904972128f50924c38c85d06180e9c879b6e Mon Sep 17 00:00:00 2001 From: weidong Date: Tue, 2 Jan 2024 19:56:53 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9https=E4=B8=8Bwebso?= =?UTF-8?q?cket=E5=BB=BA=E7=AB=8B=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sec-beidou/src/main/resources/templates/page/cmd_line.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sec-beidou/src/main/resources/templates/page/cmd_line.html b/sec-beidou/src/main/resources/templates/page/cmd_line.html index 3ce2d767..8ce5fdc2 100644 --- a/sec-beidou/src/main/resources/templates/page/cmd_line.html +++ b/sec-beidou/src/main/resources/templates/page/cmd_line.html @@ -120,7 +120,7 @@ console.log(curPath); //获取主机地址之后的目录,如: /ems/Pages/Basic/Person.jsp var pathName = window.document.location.pathname; - console.log(curPath); + console.log(pathName); var pos = curPath.indexOf(pathName); //获取主机地址,如: http://localhost:8080 var basePath = curPath.substring(0, pos);