Commit 1adadc44 authored by 姬鋆屾's avatar 姬鋆屾

feat:修改站点Id

parent 5f7fff5a
......@@ -29,7 +29,7 @@ export default {
id: loginRes.data.id,
userType: loginRes.data.userType,
currUserName: loginRes.data.currUserName,
name:loginRes.data.currUserName
name: loginRes.data.currUserName,
};
this.getToken(token, userInfo, loginRes.data);
this.$message.success(loginRes.msg, 3);
......@@ -58,12 +58,12 @@ export default {
this.SET_token(token);
console.log(data);
// data.siteid ? this.SET_SITE_ID(data.siteid) : "";
this.SET_SITE_ID("1");
// data.siteName ? this.SET_siteName(data.siteName) : "";
// this.SET_sysName(data.sysName);
// this.SET_sysLogo(data.sysLogo);
// this.SET_path(data.path);
// local.setLocal("siteId", data.siteid);
local.setLocal("siteId", "1");
// local.setLocal("siteName", data.siteName);
// 动态菜单
createMenus();
......
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