Commit 8c9bada0 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复登录取站点名称失败的错误

parent c5fbcac7
......@@ -411,7 +411,7 @@ export default {
this.SET_routerList(this.getUrl(user.menuList));
if (siteList.length && siteIds) {
let siteId = siteIds.split(",")[0];
let firstSite = findSitesById(siteList, 20);
let firstSite = findSitesById(siteList, siteId);
let siteName = firstSite.label;
storage.set(2, "siteId", siteId);
storage.set(2, "siteName", siteName);
......
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