From 90b5d58816ba966e3db132a4b6a9a15d90846d19 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期一, 17 一月 2022 15:49:02 +0800 Subject: [PATCH] # --- src/main/webapp/views/index.html | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html index fbce4db..3ba29a8 100644 --- a/src/main/webapp/views/index.html +++ b/src/main/webapp/views/index.html @@ -8,9 +8,9 @@ </head> <body> <!-- 瀵艰埅鏍� --> - <div class="nav"> - <li class="right">娉ㄩ攢<a id="about" class="nav-unselect" onclick="logout()" href="#"></a></li> - </div> +<!-- <div class="nav">--> +<!-- <li class="right">娉ㄩ攢<a id="about" class="nav-unselect" onclick="logout()" href="#"></a></li>--> +<!-- </div>--> <div class="sidebar"> <ul> <li><a id="console" onclick="nav(this.id)" class="nav-select" href="#">涓绘帶鍥�</a></li> @@ -31,13 +31,12 @@ $('#'+id).attr("class", "nav-select"); $('#content').attr("src", id+".html"); } - - 娉ㄩ攢 + function logout() { localStorage.removeItem("token"); window.location.href = baseUrl + "/login"; } - + // 绯荤粺杩愯鐘舵�� var systemRunning = true; </script> -- Gitblit v1.9.1