Commit 448ab4e1 authored by 姬鋆屾's avatar 姬鋆屾

tui

parent 3c68eb62
...@@ -15,9 +15,9 @@ export default { ...@@ -15,9 +15,9 @@ export default {
this.$route.query.sysLogo this.$route.query.sysLogo
? localStorage.setItem("sysLogo", this.$route.query.sysLogo) ? localStorage.setItem("sysLogo", this.$route.query.sysLogo)
: ""; : "";
process.env.VUE_APP_API_appName = this.$route.query.sysName this.$route.query.sysName
? this.$route.query.sysName ? (process.env.VUE_APP_API_appName = this.$route.query.sysName)
: process.env.VUE_APP_API_appName; : "";
window.sessionStorage.setItem("token", token); window.sessionStorage.setItem("token", token);
this.$router.push("/index"); // 有token直接跳转首页 this.$router.push("/index"); // 有token直接跳转首页
} else { } else {
......
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