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

fix: 演示功能提示语修改

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