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

fix:修改获取站点id失败

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