Commit 26aa9e7b authored by 姬鋆屾's avatar 姬鋆屾

tui

parent 448ab4e1
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" /> <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title><%= VUE_APP_API_appName %></title> <title>智慧办公管理平台</title>
<link <link
rel="stylesheet" rel="stylesheet"
href="https://unpkg.com/element-ui@2.15.5/lib/theme-chalk/index.css" href="https://unpkg.com/element-ui@2.15.5/lib/theme-chalk/index.css"
......
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
? localStorage.setItem("sysLogo", this.$route.query.sysLogo) ? localStorage.setItem("sysLogo", this.$route.query.sysLogo)
: ""; : "";
this.$route.query.sysName this.$route.query.sysName
? (process.env.VUE_APP_API_appName = this.$route.query.sysName) ? (document.title = this.$route.query.sysName)
: ""; : "";
window.sessionStorage.setItem("token", token); window.sessionStorage.setItem("token", token);
this.$router.push("/index"); // 有token直接跳转首页 this.$router.push("/index"); // 有token直接跳转首页
......
...@@ -80,7 +80,9 @@ export default { ...@@ -80,7 +80,9 @@ export default {
loginName: "", loginName: "",
password: "", password: "",
}, },
sysName: process.env.VUE_APP_API_appName, sysName: localStorage.getItem("sysName")
? localStorage.getItem("sysName")
: "智慧办公管理平台",
}; };
}, },
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment