Commit 40d84c2a authored by 崔佳豪's avatar 崔佳豪

fix: 站点切换异常

parent 049550be
Pipeline #66971 passed with stages
......@@ -338,7 +338,7 @@ class Site {
loginSite[token] = site;
localStorage.setItem('loginSite', JSON.stringify(loginSite));
const self = this;
self.props.updateCurrentIndex && self.props.updateCurrentIndex(-1);
// self.props.updateCurrentIndex && self.props.updateCurrentIndex(-1);
const login = new Login(this.props, () => {
self.setLoading(false);
self.getCityStationsForUser().then(res => {
......@@ -373,6 +373,7 @@ class Site {
}
changeGroup(event, item, onChangeVisible, actionRef) {
debugger
event.persist();
const site = item ? item.site : event.target.dataset.site;
const { loginName } = this.globalConfig.userInfo;
......
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