Commit f6f04782 authored by 喻天's avatar 喻天

fix: 广州登陆修改

parent 198f6b8a
Pipeline #78820 passed with stages
......@@ -148,18 +148,6 @@ class Login {
const homepage = params.getParams('homepage');
const generateType = params.getParams('generateType');
const authCode = params.getParams('authCode');
if (
window.globalConfig.subtitle === '广州节约用水管理系统' &&
this.props.location.pathname.indexOf('noscret') > -1
) {
self.getIpone().then(v => {
if (v.code === '0') {
this.gzlogin(v.data.userMobile);
} else {
this.goLogin();
}
});
}
if (homepage) {
this.globalConfig.homepage = homepage;
......@@ -192,6 +180,17 @@ class Login {
self.qrcodeLogin(self.globalConfig.qrcodeData.code);
} else if (!!self.globalConfig.isSingleLogin && !!self.globalConfig.singleLoginCode) {
//
} else if (
window.globalConfig.subtitle === '广州节约用水管理系统'
// && this.props.location.pathname.indexOf('noscret') > -1
) {
self.getIpone().then(v => {
if (v.code === '0') {
this.gzlogin(v.data.userMobile);
} else {
this.goLogin();
}
});
} else if (self.goLogin()) {
return false;
}
......
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