From 7b65c778cc7b26b1ae42041f60b2bc5a44b33482 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 30 七月 2020 16:22:04 +0800
Subject: [PATCH] #当前本版十分完美、冻结
---
src/main/webapp/views/index.html | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index f878f38..04042de 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -2,10 +2,11 @@
<html>
<head>
<meta charset="utf-8">
- <title>鑷姩浠撳偍绠$悊绯荤粺</title>
+ <title>鑷姩浠撳偍 - 绠$悊绯荤粺</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <link rel="icon" type="image/x-icon" href="../static/image/log.png" />
<link rel="stylesheet" href="../static/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../static/layuiadmin/style/admin.css" media="all">
<style>
@@ -84,7 +85,7 @@
<dd><a lay-href="detail.html">鍩烘湰璧勬枡</a></dd>
<!--<dd><a lay-href="set/user/password.html">淇敼瀵嗙爜</a></dd>-->
<hr>
- <dd style="text-align: center;"><a id="logout" href="/asrs">閫�鍑�</a></dd>
+ <dd style="text-align: center;"><a id="logout" href="/">閫�鍑�</a></dd>
</dl>
</li>
</ul>
@@ -152,6 +153,11 @@
var element = layui.element;
var $ = layui.jquery;
+ // 鏇挎崲閫�鍑烘寜閽彉閲�
+ var logout = document.getElementById('logout');
+ var url = logout.getAttribute('href');
+ logout.setAttribute('href', baseUrl + url);
+
$('#person-username').text(localStorage.getItem('username'));
$(function () {
--
Gitblit v1.9.1