Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
f6f04782
Commit
f6f04782
authored
Sep 13, 2023
by
喻天
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 广州登陆修改
parent
198f6b8a
Pipeline
#78820
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
login.js
src/pages/user/login/login.js
+11
-12
No files found.
src/pages/user/login/login.js
View file @
f6f04782
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment