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);