Commit 301a44d7 authored by 周宏民's avatar 周宏民

fix: 演示功能提示语修改

parent 773150f6
Pipeline #89101 passed with stages
...@@ -180,7 +180,7 @@ class Login { ...@@ -180,7 +180,7 @@ class Login {
} }
}) })
.catch(err => { .catch(err => {
this.events.emit('loginError', '该站点无法连接,请联系管理人员'); this.events.emit('loginError', '该站点无法访问,请联系管理人员');
}); });
} }
...@@ -444,7 +444,7 @@ class Login { ...@@ -444,7 +444,7 @@ class Login {
self.getYanshiAuthority(self, getIndustry); self.getYanshiAuthority(self, getIndustry);
}) })
.catch(error => { .catch(error => {
this.events.emit('loginError', '服务请求报错'); this.events.emit('loginError', '服务请求异常');
this.handleLoginError(); this.handleLoginError();
}); });
} else { } else {
...@@ -462,7 +462,7 @@ class Login { ...@@ -462,7 +462,7 @@ class Login {
getIndustry ? self.events.emit('toggleIndustry') : self.events.emit('loginSuccess'); getIndustry ? self.events.emit('toggleIndustry') : self.events.emit('loginSuccess');
window.share.event = self.events; window.share.event = self.events;
self.callback && self.callback(); self.callback && self.callback();
}, 200); }, 100);
} }
getYanshiAuthority(self, getIndustry) { getYanshiAuthority(self, getIndustry) {
...@@ -730,14 +730,14 @@ class Login { ...@@ -730,14 +730,14 @@ class Login {
return false; return false;
} }
self.handleLoginError(failCallback); self.handleLoginError(failCallback);
this.events.emit('loginError', '获取账号信息错误'); this.events.emit('loginError', '获取账号信息异常');
} }
self.updateConfig && self.updateConfig(self.globalConfig); self.updateConfig && self.updateConfig(self.globalConfig);
} catch (error) { } catch (error) {
if (self.goLogin()) { if (self.goLogin()) {
return false; return false;
} }
self.events.emit('loginError', '获取账号信息错误'); self.events.emit('loginError', '获取账号信息异常');
self.handleLoginError(failCallback); self.handleLoginError(failCallback);
} }
}) })
...@@ -745,7 +745,7 @@ class Login { ...@@ -745,7 +745,7 @@ class Login {
if (self.goLogin()) { if (self.goLogin()) {
return false; return false;
} }
self.events.emit('loginError', '获取账号信息错误'); self.events.emit('loginError', '获取账号信息异常');
self.handleLoginError(failCallback); self.handleLoginError(failCallback);
}); });
} 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