Commit d12fd8d5 authored by “yiyousong”'s avatar “yiyousong”

fix:修改获取站点id失败

parent 77e8bab1
...@@ -25,17 +25,17 @@ export default { ...@@ -25,17 +25,17 @@ export default {
]), ]),
// 获取token // 获取token
getToken() { getToken() {
let { token, userInfo, siteId, siteName, sysName, sysLogo } = let { token, userInfo, siteid, siteName, sysName, sysLogo } =
this.$route.query; this.$route.query;
if (token && userInfo) { if (token && userInfo) {
userInfo = JSON.parse(userInfo); userInfo = JSON.parse(userInfo);
this.SET_userInfo(userInfo); this.SET_userInfo(userInfo);
this.SET_token(token); this.SET_token(token);
this.SET_SITE_ID(siteId); this.SET_SITE_ID(siteid);
this.SET_siteName(siteName); this.SET_siteName(siteName);
this.SET_sysName(sysName); this.SET_sysName(sysName);
this.SET_sysLogo(sysLogo); this.SET_sysLogo(sysLogo);
local.setLocal("siteId", siteId); local.setLocal("siteId", siteid);
local.setLocal("siteName", siteName); local.setLocal("siteName", siteName);
this.$router.push("/website"); this.$router.push("/website");
} 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